ContainerProperties.FitToContents Method (Visio)

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

Version Added: Visio 2010

expression .FitToContents

expression A variable that represents a ContainerProperties object.

Return Value

Nothing

Calling the FitToContents method has no effect on the ResizeAsNeeded property setting for the current session of Microsoft Visio.

The FitToContents method does not work for list shapes.

Show:
© 2014 Microsoft