Edit

Share via


Word.WindowScrollOptions interface

The options that scrolls a window or pane by the specified number of units defined by the calling method.

Remarks

[ API set: WordApiDesktop 1.4 ]

Properties

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.

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.

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.

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.

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

[ API set: WordApiDesktop 1.4 ]

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

[ API set: WordApiDesktop 1.4 ]

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

[ API set: WordApiDesktop 1.4 ]

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

Remarks

[ API set: WordApiDesktop 1.4 ]