TPDFlibViewerScroll
Events, viewer interaction
Description
Fires after the view scrolled on one axis
The same type serves OnHScroll and OnVScroll; NewPosition matches the corresponding HScrollPos or VScrollPos property in pixels
Declaration
TPDFlibViewerScroll = procedure(Sender: TObject; NewPosition: Integer) of object;Parameters
| Sender | The viewer that scrolled |
|---|---|
| NewPosition | New scroll position of the axis in pixels |
See also
OnHScroll, OnVScroll, HScrollPos, VScrollPos, ScrollBy, TPDFlibViewer