Partager via


VisWindowScrollX Constants

Visio Automation Reference

X parameters to pass to the Window.Scroll method.

Constant Value Description

visScrollLeftPage

2

Scroll horizontally so that the left edge of the drawing page is centered in the window.

visScrollLeft

0

Scroll horizontally to the left the same distance as clicking the left scroll button.

visScrollNoneX

9

Do not scroll horizontally.

visScrollRightPage

3

Scroll horizontally so that the right edge of the drawing page is centered in the window.

visScrollRight

1

Scroll horizontally to the right the same distance as clicking the right scroll button.

visScrollToLeft

6

Scroll so that the upper left corner of the drawing page is centered in the window.

visScrollToRight

7

Scroll so that the lower right corner of the drawing page is centered in the window.