Shape.AutoShapeType Property
PowerPoint Developer Reference |
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.
Syntax
expression.AutoShapeType
expression A variable that represents a Shape object.
Return Value
MsoAutoShapeType
Note |
---|
When you change the type of a shape, the shape retains its size, color, and other attributes. |
Remarks
Use the Type property of the ConnectorFormat object to set or return the connector type.
Example
This example replaces all 16-point stars with 32-point stars in myDocument
.
Visual Basic for Applications |
---|
|
See Also