PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.8 Assembly / C1.Win.C1Preview Namespace / C1PreviewPane Class / ScrollPreview Method / ScrollPreview(Single,Single) Method
The horizontal scroll amount.
The vertical scroll amount.

In This Topic
    ScrollPreview(Single,Single) 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. May change the currently shown row of pages.
    Syntax
    'Declaration
     
    Public Overloads Sub ScrollPreview( _
       ByVal dx As Single, _
       ByVal dy As Single _
    ) 
    public void ScrollPreview( 
       float dx,
       float dy
    )

    Parameters

    dx
    The horizontal scroll amount.
    dy
    The vertical scroll amount.
    See Also