RemoveFromContainers Method
TOC
Collapse the table of content
Expand the table of content

Selection.RemoveFromContainers Method (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.

Removes the selection of shapes from all lists and containers of which the selection is a member.

expression .RemoveFromContainers

expression A variable that represents a Selection object.

Return Value

Nothing

When you call the RemoveFromContainers method, Microsoft Visio uses the setting of the ContainerProperties.ResizeAsNeeded property for each container to determine how the container resizes.

Show:
© 2016 Microsoft