Share via


Window.LargeScroll Method

Scrolls a window or pane by the specified number of screens.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub LargeScroll ( _
    ByRef Down As Object, _
    ByRef Up As Object, _
    ByRef ToRight As Object, _
    ByRef ToLeft As Object _
)
'Usage
Dim instance As Window
Dim Down As Object
Dim Up As Object
Dim ToRight As Object
Dim ToLeft As Object

instance.LargeScroll(Down, Up, ToRight, _
    ToLeft)
void LargeScroll(
    ref Object Down,
    ref Object Up,
    ref Object ToRight,
    ref Object ToLeft
)

Parameters

  • Down
    Type: System.Object%
    Optional Object. The number of screens to scroll the window down.
  • Up
    Type: System.Object%
    Optional Object. The number of screens to scroll the window up.
  • ToRight
    Type: System.Object%
    Optional Object. The number of screens to scroll the window to the right.
  • ToLeft
    Type: System.Object%
    Optional Object. The number of screens to scroll the window to the left.

Remarks

The LargeScroll method is equivalent to clicking just before or just after the scroll boxes on the horizontal and vertical scroll bars.

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 screens. Similarly, if ToLeft and ToRight are both specified, the window is scrolled by the difference of the arguments.

Any of these arguments can be a negative number. If no arguments are specified, the window is scrolled down one screen.

See Also

Reference

Window Interface

Window Members

Microsoft.Office.Interop.Word Namespace