TPDFlibViewerPageChange

Events, viewer interaction

Description

Fires through OnPageChange after the displayed page changed, whether by GoToPage, NextPage, PrevPage or scrolling in continuous mode

In continuous mode the page under the viewport centre becomes the current page, and passing to it raises the same event

Declaration

TPDFlibViewerPageChange = procedure(Sender: TObject; NewPage: Integer) of object;

Parameters

SenderThe viewer that navigated
NewPageOne-based number of the page now displayed

See also

OnPageChange, Page, GoToPage, NextPage, PrevPage, TPDFlibViewer