PrevPage
Viewer interaction
Description
Moves to the page before the current one and returns the page shown
The target is clamped into range, so calling it on the first page keeps that page; navigation fires OnPageChange when the page moves
Syntax
Delphi
Function TPDFlibViewer.PrevPage: Integer;Return values
| 0 | No document is open |
|---|---|
| 1..PageCount | The 1-based page now shown after clamping |