Word.WindowScrollOptions interface
The options that scrolls a window or pane by the specified number of units defined by the calling method.
Remarks
Properties
| down | If provided, specifies the number of units to scroll the window down. If |
| left | If provided, specifies the number of screens to scroll the window to the left. If |
| right | If provided, specifies the number of screens to scroll the window to the right. If |
| up | If provided, specifies the number of units to scroll the window up. If |
Property Details
down
If provided, specifies the number of units to scroll the window down. If down and up are both provided, the contents of the window are scrolled by the difference of the property values. For example, if down is 3 and up is 6, the contents are scrolled up three units.
down?: number;
Property Value
number
Remarks
left
If provided, specifies the number of screens to scroll the window to the left. If left and right are both provided, the contents of the window are scrolled by the difference of the property values. For example, if left is 3 and right is 6, the contents are scrolled to the right three screens.
left?: number;
Property Value
number
Remarks
right
If provided, specifies the number of screens to scroll the window to the right. If left and right are both provided, the contents of the window are scrolled by the difference of the property values. For example, if left is 3 and right is 6, the contents are scrolled to the right three screens.
right?: number;
Property Value
number
Remarks
up
If provided, specifies the number of units to scroll the window up. If down and up are both provided, the contents of the window are scrolled by the difference of the property values. For example, if down is 3 and up is 6, the contents are scrolled up three units.
up?: number;
Property Value
number