RelatedShapePairEvent object (Visio)

Holds information about the shapes that are involved in a container relationship or a callout relationship.

Remarks

A related shape pair consists of two shapes—typically a container and a member, or a callout and a target shape.

When you add or remove a member shape from a container, Microsoft Visio fires a ContainerRelationshipAdded or ContainerRelationshipDeleted event respectively, and in each case, returns a RelatedShapePairEvent object that encapsulates information about the event.

When you add or remove a callout relationship from a document, Microsoft Visio fires a CalloutRelationshipAdded or CalloutRelationshipDeleted event respectively, and in each case, returns a RelatedShapePairEvent object that encapsulates information about the event.

Properties

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.