TPDFlibViewerLastPage

Data types, viewer interaction, actions

Description

Action that jumps to the last page. The constructor presets

Caption to Last Page and Hint to Last page; the action is enabled only while the current Page is below PageCount, and executing calls GoToPage(PageCount)

Declaration

TPDFlibViewerLastPage = class(TPDFlibViewerAction) protected function DoUpdate: Boolean; override; procedure DoExecute; override; public constructor Create(AOwner: TComponent); override; end;

See also

TPDFlibViewerAction, GoToPage, Page, PageCount, TPDFlibViewerFirstPage, TPDFlibViewer