GraphicItems.Item property (Visio)

Returns the GraphicItem object at the specified index position in the GraphicItems collection. Read-only.

Note

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

Syntax

expression.Item (Index)

expression A variable that represents a GraphicItems object.

Parameters

Name Required/Optional Data type Description
Index Required Long The index of the object to retrieve.

Return value

GraphicItem

Remarks

Item is the default property of the GraphicItems collection.

The GraphicItems collection is indexed starting with 1.

When you retrieve objects from a collection, you can omit Item from the expression because it is the default property of all collections. The following statement is equivalent to the syntax example given above:

objectReturned = expression(Index)

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.