OnPageChange

Viewer interaction

Description

Fires with NewPage whenever the current page changes, after LoadFromFile, page navigation such as GoToPage, NextPage and PrevPage, and form field focus moving to another page

In continuous display mode the current page also follows scrolling, so the event fires when the page under the centre of the viewport changes

Syntax

Delphi

Property OnPageChange: TPDFlibViewerPageChange Read FOnPageChange Write FOnPageChange;

See also

Page, PrevPage, PageCount, TPDFlibViewer