Shape.AutoShapeType Property
Word Developer Reference |
Returns or sets the shape type for the specified Shape 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 Shape object.
Remarks
When you change the type of a shape, the shape retains its size, color, and other attributes.
Example
This example replaces all 16-point stars with 32-point stars in the active document.
Visual Basic for Applications |
---|
|
See Also