Share via


Shape.RemoveFromContainers Method (Visio)

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

Version Information

Version Added: Visio 2010

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.