RootShape property

Microsoft Visio Developer Reference

RootShape property

See also   Example   

Returns the top-level shape of an instance if this shape is part of a master instance.

Version added

2002

Syntax

objRet = object.RootShape

objRet

The Shape object that is the top level shape of this instance.

object

Required. An expression that returns a Shape object.

Remarks

If this shape is not part of a master instance the RootShape property returns Nothing.