ContainerProperties.GetMemberState method (Visio)

Returns the membership state of the specified shape with respect to the container shape.

Syntax

expression.GetMemberState (Shape)

expression A variable that represents a ContainerProperties object.

Parameters

Name Required/Optional Data type Description
Shape Required Shape The shape for which to get the membership state.

Return value

VisContainerMemberState

Remarks

GetMemberState can return one of the following VisContainerMemberState constants.

Constant Value Description
visContainerMemberNotAMember 0 The shape is not a member of the container.
visContainerMemberInterior 1 The member shape is within the bounds of the container.
visContainerMemberOnBoundary 2 The member shape is on the boundary of the container.
visContainerMemberOutside 3 The member shape is outside the bounds of the container.
visContainerMemberInList 4 The member shape is a list member.

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.