VisContainerFormatType Enumeration

Specifies constants that determine the container format to change; passed to the Selection.SetContainerFormat method.

Version Added: Visio 2010

Constant

Value

Description

visContainerFormatLockMembership

0

Change whether container membership is locked.

visContainerFormatContainerAutoResize

1

Change how the container resizes automatically.

visContainerFormatFitToContents

2

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