DocumentWindow.LargeScroll Method
PowerPoint Developer Reference |
Scrolls through the specified document window by pages.
Syntax
expression.LargeScroll(Down, Up, ToRight, ToLeft)
expression A variable that represents a DocumentWindow object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Down | Optional | Long | Specifies the number of pages to scroll down. |
Up | Optional | Long | Specifies the number of pages to scroll up. |
ToRight | Optional | Long | Specifies the number of pages to scroll right. |
ToLeft | Optional | Long | Specifies the number of pages to scroll left. |
Remarks
If no arguments are specified, this method scrolls down one page. If Down and Up are both specified, their effects are combined. For example, if Down is 2 and Up is 4, this method scrolls up two pages. Similarly, if ToRight and ToLeft are both specified, their effects are combined.
Any of the arguments can be a negative number.
Example
This example scrolls the active window down three pages.
Visual Basic for Applications |
---|
|
See Also