VisContainerFormatType enumeration (Visio)

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.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.