Upravit

Sdílet prostřednictvím


Pages.ItemFromID property (Visio)

Returns an item of a collection using the ID of the item. Read-only.

Syntax

expression.ItemFromID (nID)

expression A variable that represents a Pages object.

Parameters

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

Return value

Page

Remarks

The ID of a Shape object uniquely identifies the shape within its page or master.

The ID of a Style object uniquely identifies the style within its document.

The ID of a Font object corresponds to the number stored in the Font cell of a row in a shape's Character Properties section. The ID associated with a particular font varies between systems or as fonts are installed on and removed from a given system.

The ID of an Event object uniquely identifies an event in its EventList collection for the life of the collection.

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.