Page.ID property (Visio)
Gets the ID of an object. Read-only.
Syntax
expression.ID
expression A variable that represents a Page object.
Return value
Long
Remarks
The ID of a shape is unique only within the scope of the page or master. The ID of a page, master, or style is unique within the scope of the document.
If a shape, page, master, or style is deleted, future objects in the same scope may be assigned the same ID. Therefore, persisting shape or style IDs in separate data stores is generally not as sound as persisting unique IDs using the UniqueID 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.