GraphicItems.ItemFromID property (Visio)

Returns a GraphicItem object from the GraphicItems collection by using the unique ID of the object. Read-only.

Note

This Visio object or member is available only to licensed users of Visio Professional 2013.

Syntax

expression.ItemFromID (ObjectID)

expression A variable that represents a GraphicItems object.

Parameters

Name Required/Optional Data type Description
ObjectID Required Long The unique ID of the GraphicItem object to retrieve.

Return value

GraphicItem

Remarks

You can get the ID of a GraphicItem object by getting the value of the GraphicItem.ID property.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.