Table of contents
Collapse the table of content
Expand the table of content

ContainerProperties.ResizeAsNeeded Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

Determines whether the container boundary resizes automatically to fit its contents. Read/write.


expression . ResizeAsNeeded

expression An expression that returns a ContainerProperties object.

Return Value



The value of the ResizeAsNeeded property can be one of the following VisContainerAutoResize constants.

visContainerAutoResizeNone0Do not automatically resize container.
visContainerAutoResizeExpand1Automatically expand the container size, but do not contract.
visContainerAutoResizeExpandContract2Automatically expand and contract the container size.

The setting of the ResizeAsNeeded property corresponds to the selection in the Automatic Resize drop-down list in the Size group on the Container Tools Format tab.

© 2017 Microsoft