ContainingPage Property [Visio 2003 SDK Documentation]
Returns the page that contains an object.
objRet = object**.ContainingPage**
objRet The Page object that contains the object or collection.
object Required. An expression that returns a Selection or Shape object or a Shapes collection to examine.
Version added
4.0
Remarks
If the object isn't in a Page object, the ContainingPage property returns Nothing. For example, if a Shape object belongs to a Masters collection, the ContainingPage property returns Nothing.
Applies to | Selection object | Shape object | Shapes collection
See Also | ContainingMaster property | ContainingShape property | Page object