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

DXHorizontal scroll delta in pixels, positive scrolls right
DYVertical scroll delta in pixels, positive scrolls down

See also

OnHScroll, OnVScroll, VScrollPos, TPDFlibViewer