Share via


GraphicItem.Type Property

Visio Automation Reference

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

Aa342087.vs_note(en-us,office.12).gif  Note
This Visio object or member is available only to licensed users of Microsoft Office Visio Professional 2007.

Version Information
 Version Added:  Visio 2007

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 Office 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 Color by Value graphic item.

visTypeHeading

6

Represents a Text graphic item that has a Callout type of Heading x.

See Also