GraphicItems Collection

Visio Automation Reference

The collection of GraphicItem objects associated with a Master object of type visTypeDataGraphic.

ms409171.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

Remarks

The default property of the GraphicItems collection is Item.

The AddCopy method adds a copy of an existing GraphicItem object to the GraphicItems collection. The GraphicItem object to be added must already exist in another master of type visTypeDataGraphic.

Use the DataGraphic property to return the Master object of type visTypeDataGraphic that the GraphicItems collection is associated with.

ms409171.vs_note(en-us,office.12).gif  Note
You must create masters of type visTypeDataGraphic by using the Visio user interface—you cannot create them programmatically. For more information about creating these masters, search for "data graphics" in Visio end-user Help.

See Also