NextPage

Viewer interaction

Description

Moves the Viewer to the page after the current one and returns the page shown. The call delegates to

GoToPage, so the requested index is clamped and the viewer stays on the last page when that page is already current

Syntax

Delphi

Function TPDFlibViewer.NextPage: Integer;

Return values

0No document is open
Positive valueThe page now shown

See also

TPDFlibViewer, GoToPage, PageCount