共用方式為


VisCenterViewFlags Enumeration

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

Version Information

Version Added: Visio 2010

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.