Share via


ShapeRange.AutoShapeType Property (Word)

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

Concepts

ShapeRange Object Members

ShapeRange Collection Object