VisCenterViewFlags enumeration (Visio)

Specifies constants that define the different ways to center the view; passed to the Windows.CenterViewOnShape method.

Name Value Description
visCenterViewDefault 0 Display the page that contains the specified shape, and center the view on the shape.
visCenterViewIfOffScreen 1 Center the view only if the shape is currently off screen.
visCenterViewSelectShape 2 Display the page that contains the specified shape, center the view on the shape, and select the shape.

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.