共用方式為


DocumentWindow.LargeScroll Method

Scrolls through the specified document window by pages.

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

Syntax

'Declaration
Sub LargeScroll ( _
    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.LargeScroll(Down, Up, ToRight, _
    ToLeft)
void LargeScroll(
    int Down,
    int Up,
    int ToRight,
    int ToLeft
)

Parameters

  • Down
    Type: System.Int32
    Specifies the number of pages to scroll down.
  • Up
    Type: System.Int32
    Specifies the number of pages to scroll up.
  • ToRight
    Type: System.Int32
    Specifies the number of pages to scroll right.
  • ToLeft
    Type: System.Int32
    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.

See Also

Reference

DocumentWindow Interface

DocumentWindow Members

Microsoft.Office.Interop.PowerPoint Namespace