Shape.RemoveFromContainers method (Visio)

Removes the shape from all lists and containers of which it is a member.

Syntax

expression. RemoveFromContainers

expression A variable that represents a Shape object.

Return value

Nothing

Remarks

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

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.