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, 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.