Upravit

Sdílet prostřednictvím


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

ShapeRange Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.