VisWindowScrollX enumeration (Visio)

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.

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.