GetScrollPosForPage
Viewer interaction
Description
Returns the vertical scroll offset at which a page band starts when the document is displayed in continuous mode, including the page margin
In single-page mode every page occupies the whole viewport and the result is 0
Syntax
Delphi
Function TPDFlibViewer.GetScrollPosForPage(APage: Integer): Integer;Parameters
| APage | One-based page index |
|---|
Return values
| Integer | Vertical scroll position in pixels where the page band starts, 0 in single-page mode |
|---|