Edit

Share via


Shape.Type property (Visio)

Returns the type of the object. Read-only.

Syntax

expression.Type

expression A variable that represents a Shape object.

Return value

Integer

Remarks

Type value constants for Shape objects (the possible values that the Type property of a Shape object returns) are declared by the Visio type library in VisShapeTypes.

If a Shape object is type visTypeForeignObject, use the ForeignType property to determine the type of foreign object represented by the 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.