Shape.AutoShapeType Property

Definition

Returns or sets the shape type for the specified Shape object, which must represent an AutoShape other than a line or freeform drawing.

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; }
member this.AutoShapeType : Microsoft.Office.Core.MsoAutoShapeType with 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.

Applies to