Share via


GraphicItems Collection

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

Note

This Visio object or member is available only to licensed users of Microsoft Visio Professional 2010 or Visio Premium 2010.

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.

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.