VisContainerFormatType Enumeration (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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.

Show: