Share via


Shape.MasterShape Property

Visio Automation Reference

If this shape is part of a master instance, returns the shape in the master that this shape inherits from. Read-only.

Version Information
 Version Added:  Visio 2002

Syntax

expression.MasterShape

expression   A variable that represents a Shape object.

Return Value
Shape

Remarks

Each shape in an instance of a master (the group and all its subshapes) points to its corresponding shape in the master. The MasterShape property returns the Shape object in the master from which the parent Shape object inherits.

If the parent Shape object is not part of a master instance, the MasterShape property returns Nothing.

See Also