Поделиться через


DocumentWindow.SmallScroll Method

Scrolls through the specified document window by lines and columns.

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

Syntax

'Declaration
Sub SmallScroll ( _
    Down As Integer, _
    Up As Integer, _
    ToRight As Integer, _
    ToLeft As Integer _
)
'Usage
Dim instance As DocumentWindow
Dim Down As Integer
Dim Up As Integer
Dim ToRight As Integer
Dim ToLeft As Integer

instance.SmallScroll(Down, Up, ToRight, _
    ToLeft)
void SmallScroll(
    int Down,
    int Up,
    int ToRight,
    int ToLeft
)

Parameters

  • Down
    Type: System.Int32
    Specifies the number of lines to scroll down.
  • Up
    Type: System.Int32
    Specifies the number of lines to scroll up.
  • ToRight
    Type: System.Int32
    Specifies the number of lines to scroll right.
  • ToLeft
    Type: System.Int32
    Specifies the number of lines to scroll left.

Remarks

If no arguments are specified, this method scrolls down one line. 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 lines. Similarly, if ToRight and ToLeft are both specified, their effects are combined.

Any of the arguments can be a negative number.

See Also

Reference

DocumentWindow Interface

DocumentWindow Members

Microsoft.Office.Interop.PowerPoint Namespace