Shape.MasterShape property (Visio)

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

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.