TPDFlibViewerFitPage
Data types, viewer interaction, actions
Description
Action that fits the whole page inside the viewport
The constructor presets Caption to Fit Page and Hint to Fit whole page; executing calls SetZoomMode(zmFitPage) on the assigned viewer
Checked reflects whether the viewer's ZoomMode currently is zmFitPage
Declaration
TPDFlibViewerFitPage = class(TPDFlibViewerAction) protected function DoUpdate: Boolean; override; procedure DoExecute; override; public constructor Create(AOwner: TComponent); override; end;See also
TPDFlibViewerAction, SetZoomMode, ZoomMode, TPDFlibViewerZoomMode, TPDFlibViewerFitWidth, TPDFlibViewer