Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the container boundary resizes automatically to fit its contents. Read/write.
Version Information
Version Added: Visio 2010
Syntax
expression .ResizeAsNeeded
expression An expression that returns a ContainerProperties object.
Return Value
Remarks
The value of the ResizeAsNeeded property can be one of the following VisContainerAutoResize constants.
Constant |
Value |
Description |
---|---|---|
visContainerAutoResizeNone |
0 |
Do not automatically resize container. |
visContainerAutoResizeExpand |
1 |
Automatically expand the container size, but do not contract. |
visContainerAutoResizeExpandContract |
2 |
Automatically 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.