ContainerProperties.ResizeAsNeeded Property (Visio)

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

Version Added: Visio 2010

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.

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.

Show:
© 2014 Microsoft