Shape.AutoShapeType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.