OnHScroll

Viewer interaction

Description

Fires after the view scrolled horizontally, with NewPosition holding the new horizontal scrollbar position in pixels. The event fires only when the position actually moved since the last notification, covering scrollbar drags, keyboard scrolling, panning and

ScrollBy

Syntax

Delphi

Property OnHScroll: TPDFlibViewerScroll Read FOnHScroll Write FOnHScroll;

See also

OnVScroll, ScrollBy, TPDFlibViewer