PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.8 Assembly / C1.Win.C1Preview Namespace / C1PreviewPane Class / ScrollPreview Method / ScrollPreview(Single,Single,Boolean) Method
The horizontal scroll amount.
The vertical scroll amount.
If true, the currently shown row of pages may be changed by the scroll operation. Otherwise, it can not.

In This Topic
    ScrollPreview(Single,Single,Boolean) Method
    In This Topic
    Scrolls the previewed document in the client area by the specified horizontal and vertical amounts. The scroll amounts are expressed in document coordinates.
    Syntax
    'Declaration
     
    Public Overloads Sub ScrollPreview( _
       ByVal dx As Single, _
       ByVal dy As Single, _
       ByVal allowRowChange As Boolean _
    ) 
    public void ScrollPreview( 
       float dx,
       float dy,
       bool allowRowChange
    )

    Parameters

    dx
    The horizontal scroll amount.
    dy
    The vertical scroll amount.
    allowRowChange
    If true, the currently shown row of pages may be changed by the scroll operation. Otherwise, it can not.
    See Also