Shape.ContainingPage Property (Visio)

Returns the page that contains an object.

Version Information

Version Added: Visio 4.0

Syntax

expression .ContainingPage

expression A variable that represents a Shape object.

Return Value

Page

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.