ShapeRange.AutoShapeType Property

Word Developer Reference

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

Syntax

expression.AutoShapeType

expression   Required. A variable that represents a ShapeRange object.

Remarks

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

See Also