Edit

Share via


ShapeRange.AutoShapeType Property

Definition

Returns or sets the shape type for the specified ShapeRange object, which must represent an AutoShape other than a line, freeform drawing, or connector. Read/write MsoAutoShapeType.

public:
 property Microsoft::Office::Core::MsoAutoShapeType AutoShapeType { Microsoft::Office::Core::MsoAutoShapeType get(); void set(Microsoft::Office::Core::MsoAutoShapeType value); };
public Microsoft.Office.Core.MsoAutoShapeType AutoShapeType { get; set; }
Public Property AutoShapeType As MsoAutoShapeType

Property Value

Remarks

When you change the type of a shape, the shape retains its size, color, and other attributes.

Use the Type property of the ConnectorFormat object to set or return the connector type.

Applies to