[]
        
(Showing Draft Content)

C1.Win.C1Preview.C1PreviewPane.ScrollPreview

ScrollPreview Method

ScrollPreview(float, float, bool)

Scrolls the previewed document in the client area by the specified horizontal and vertical amounts. The scroll amounts are expressed in document coordinates.

Declaration
public void ScrollPreview(float dx, float dy, bool allowRowChange)
Parameters
Type Name Description
float dx

The horizontal scroll amount.

float dy

The vertical scroll amount.

bool allowRowChange

If true, the currently shown row of pages may be changed by the scroll operation. Otherwise, it can not.

ScrollPreview(float, float)

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.

Declaration
public void ScrollPreview(float dx, float dy)
Parameters
Type Name Description
float dx

The horizontal scroll amount.

float dy

The vertical scroll amount.