次の方法で共有


GraphicItems.ItemFromID Property

Visio Automation Reference

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

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

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.

See Also