ContainerProperties.GetMemberState Method (Visio)

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

Version Information

Version Added: Visio 2010

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.