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
Aa342251.methods(en-us,office.12).gif Delete Deletes a GraphicItem object from the GraphicItems collection of a Master object of type visTypeDataGraphic..
Aa342251.methods(en-us,office.12).gif 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.
Aa342251.methods(en-us,office.12).gif 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
Aa342251.properties(en-us,office.12).gif Application Returns the instance of Microsoft Office Visio associated with a GraphicItem object. Read-only.
Aa342251.properties(en-us,office.12).gif DataGraphic Returns the Master object of type visTypeDataGraphic that contains the graphic item. Read-only.
Aa342251.properties(en-us,office.12).gif Description Returns a string that describes the type of the graphic item. Read-only.
Aa342251.properties(en-us,office.12).gif Document Gets the Document object that contains the Master object of type visTypeDataGraphic that contains the GraphicItem object. Read-only.
Aa342251.properties(en-us,office.12).gif HorizontalPosition Gets or sets the horizontal position of the GraphicItem object relative to the shape to which it is applied. Read/write.
Aa342251.properties(en-us,office.12).gif ID Gets the unique identifier of the GraphicItem object. Read-only.
Aa342251.properties(en-us,office.12).gif Index Gets or sets the ordinal position of a GraphicItem object in the GraphicItems collection. Read/write
Aa342251.properties(en-us,office.12).gif ObjectType Returns visObjTypeGraphicItem, the type of a GraphicItem object. Read-only.
Aa342251.properties(en-us,office.12).gif Stat Returns status information for an object. Read-only.
Aa342251.properties(en-us,office.12).gif Tag Gets or sets a user-defined string expression that can store extra data related to your program. Read/write.
Aa342251.properties(en-us,office.12).gif Type Returns the type of the graphic item. Read-only.
Aa342251.properties(en-us,office.12).gif 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.
Aa342251.properties(en-us,office.12).gif VerticalPosition Gets or sets the vertical position of the GraphicItem object relative to the shape to which it is applied. Read/write.