RelatedShapePairEvent Object
TOC
Collapse the table of content
Expand the table of content

RelatedShapePairEvent Object (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

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.

Show:
© 2016 Microsoft