Muokkaa

Jaa


GraphicItem.Type property (Visio)

Returns the type of the graphic item. Read-only.

Note

This Visio object or member is available only to licensed users of Visio Professional 2013.

Syntax

expression.Type

expression A variable that represents a GraphicItem object.

Return value

VisGraphicItemTypes

Remarks

The following possible values for the Type property are from the VisGraphicItemTypes enumeration. which is declared in the Visio type library. These values correspond to the graphic item types listed in the New Item list in the New Data Graphic and Edit Data Graphic dialog boxes in the Microsoft Visio user interface.

Constant Value Description
visTypeIconSet 2 Represents an Icon Set graphic item.
visTypeTextCallout 3 Represents a Text graphic item.
visTypeDataBar 4 Represents a Data Bar graphic item.
visTypeColorByValue 5 Represents a Clor by Value graphic item.
visTypeHeading 6 Represents a Text graphic item that has a Callout type of Heading x.

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.