ScrollBy
Viewer interaction
Description
Scrolls the view by the given pixel deltas: a positive DX scrolls right and a positive DY scrolls down
The current page updates in continuous display mode and OnHScroll and OnVScroll fire when the positions moved
Syntax
Delphi
Procedure TPDFlibViewer.ScrollBy(DX, DY: Integer);Parameters
| DX | Horizontal scroll delta in pixels, positive scrolls right |
|---|---|
| DY | Vertical scroll delta in pixels, positive scrolls down |