TPDFlibViewerLastPage

数据类型、查看器交互、动作

描述

跳转到最后一页的动作构造函数将

Caption 预设为 Last Page,将 Hint 预设为 Last page;仅当当前 Page 小于 PageCount 时动作才可用,执行时调用 GoToPage(PageCount)

声明

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

另请参阅

TPDFlibViewerAction, GoToPage, Page, PageCount, TPDFlibViewerFirstPage, TPDFlibViewer