TPDFlibViewerActualSize

Data types, viewer interaction, actions

Description

Action that resets the viewer to 100 percent zoom

The constructor presets Caption to Actual Size and Hint to Actual size (100%); executing calls SetZoomPercent(100) on the assigned viewer, which also switches ZoomMode to zmPercent

Like every viewer action it stays disabled while no document is open

Declaration

TPDFlibViewerActualSize = class(TPDFlibViewerAction) protected procedure DoExecute; override; public constructor Create(AOwner: TComponent); override; end;

See also

TPDFlibViewerAction, SetZoomPercent, ZoomMode, TPDFlibViewerZoomMode, TPDFlibViewer