Published: July 16, 2012
Returns the ID of the page that contains an object. Read-only.
Version Added: Visio 2003
A variable that represents a Selection object.
If the object is not in a Page object, the ContainingPageID property returns -1. For example, if a Shape object belongs to a Masters collection, the ContainingPageID property returns -1.