VisCenterViewFlags 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 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.

Show: