HScrollPos

Viewer interaction

Description

Read/write property for the horizontal scroll position of the view in pixels

Reading returns the current scrollbar position; assigning a value moves the scrollbar, fires OnHScroll when the position changed and repaints the view, which makes the property handy for synchronising two viewers showing the same document side by side

Syntax

Delphi

Property HScrollPos: Integer Read GetHScrollPos Write SetHScrollPos;

See also

TPDFlibViewer, GetScrollPosForPage, GoToPagePoint