ContainerProperties Methods (Visio)

GitHub-Mark-64px

Contribute to this content

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

Name

Description

AddMember

Adds a shape or a set of shapes to the container.

Disband

Removes all member shapes from the container and deletes the container shape.

FitToContents

Forces the container to resize so as to tightly include all member shapes, including any applicable margins between the container and the shapes.

GetListMemberPosition

Returns the ordinal position of the specified shape in the list.

GetListMembers

Returns an array of shape identifiers (IDs) of member shapes in the list.

GetListSpacing

Returns the gap between adjacent member shapes in the list.

GetMargin

Returns the minimal distance, in the specified units, between the edges of the container or list and those of its member shapes.

GetMemberShapes

Returns the shape identifiers (IDs) of all members of the container, as specified.

GetMemberState

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

InsertListMember

Adds a shape or set of shapes to the list in the container.

RemoveMember

Removes a shape or set of shapes from the container.

ReorderListMember

Moves a shape or a set of shapes up or down in the list.

RotateFlipList

Rotates or flips the list direction for a list of shapes.

SetListSpacing

Sets the gap between adjacent member shapes in the list.

SetMargin

Sets the gap between the container and member shapes to the specified size, in the specified units.

Show: