Shape.Type Property (Visio)

Office 2013 and later

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns the type of the object. Read-only.

expression .Type

expression A variable that represents a Shape object.

Return Value


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.