GraphicItem Object Members
Visio Automation Reference |
Represents a single component part of a data graphic master (a Master object of type visTypeDataGraphic) that is responsible for a specific graphical adornment of the master.
Methods
Name | Description | |
---|---|---|
Delete | Deletes a GraphicItem object from the GraphicItems collection of a Master object of type visTypeDataGraphic.. | |
GetExpression | Gets the label of the shape data item (custom property) that the GraphicItem represents, or the value of the expression string that is part of a GraphicItem object’s rule, against which shape data is evaluated. | |
SetExpression | Sets the value of the expression string that is part of a GraphicItem object’s rule, against which shape data (custom properties) are evaluated. |
Properties
Name | Description | |
---|---|---|
Application | Returns the instance of Microsoft Office Visio associated with a GraphicItem object. Read-only. | |
DataGraphic | Returns the Master object of type visTypeDataGraphic that contains the graphic item. Read-only. | |
Description | Returns a string that describes the type of the graphic item. Read-only. | |
Document | Gets the Document object that contains the Master object of type visTypeDataGraphic that contains the GraphicItem object. Read-only. | |
HorizontalPosition | Gets or sets the horizontal position of the GraphicItem object relative to the shape to which it is applied. Read/write. | |
ID | Gets the unique identifier of the GraphicItem object. Read-only. | |
Index | Gets or sets the ordinal position of a GraphicItem object in the GraphicItems collection. Read/write | |
ObjectType | Returns visObjTypeGraphicItem, the type of a GraphicItem object. Read-only. | |
Stat | Returns status information for an object. Read-only. | |
Tag | Gets or sets a user-defined string expression that can store extra data related to your program. Read/write. | |
Type | Returns the type of the graphic item. Read-only. | |
UseDataGraphicPosition | Gets or sets whether to use the current default callout position for graphic items of the data graphic master to whose GraphicItems collection the graphic item belongs. Read/write. | |
VerticalPosition | Gets or sets the vertical position of the GraphicItem object relative to the shape to which it is applied. Read/write. |