Window.PageScroll(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Scrolls through the specified pane or window page by page.
public void PageScroll (ref object Down, ref object Up);
abstract member PageScroll : obj * obj -> unit
Public Sub PageScroll (Optional ByRef Down As Object, Optional ByRef Up As Object)
Parameters
- Down
- Object
Optional Object. The number of pages to be scrolled down. If this argument is omitted, this value is assumed to be 1.
- Up
- Object
Optional Object. The number of pages to be scrolled up.
Remarks
The PageScroll method is available only if you're in print layout view or web layout view. This method doesn't affect the position of the insertion point.
If Down
and Up
are both specified, the window is scrolled by the difference of the arguments. For example, if Down
is 2 and Up
is 4, the window is scrolled up two pages.