Share via


ContainingMaster Property [Visio 2003 SDK Documentation]

Returns the Master object that contains an object.

objRet = object**.ContainingMaster**

objRet     The Master object that contains the object or collection.

object     Required. An expression that returns a Selection or Shape object, or Shapes collection to examine.

Version added

4.0

Remarks

If the object isn't in a Master object, the ContainingMaster property returns Nothing. For example, if a Shape object belongs to the Shapes collection of a Page object, the ContainingMaster property returns Nothing.

Applies to | Selection object | Shape object | Shapes collection

See Also | ContainingPage property | ContainingShape property | Master object