Partager via


VisWindowScrollY Constants

Visio Automation Reference

Y parameters to pass to the Window.Scroll method.

Constant Value Description

visScrollDownPage

3

Scroll vertically so that the upper edge of the drawing page is centered in the window.

visScrollDown

1

Scroll vertically down the same distance as clicking the down scroll button.

visScrollNoneY

9

Do not scroll vertically.

visScrollToBottom

7

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

visScrollToTop

6

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

visScrollUpPage

2

Scroll vertically so that the lower edge of the drawing page is centered in the window.

visScrollUp

0

Scroll vertically up the same distance as clicking the up scroll button.