TPDFlibViewerZoomChange

Events, viewer interaction

Description

Fires through OnZoomChange when the effective zoom changes

Triggers include SetZoomPercent, the preset steps of ZoomInStep and ZoomOutStep, and fit-mode recomputation on resize, rotation or DPI change

Declaration

TPDFlibViewerZoomChange = procedure(Sender: TObject; NewPercent: Double) of object;

Parameters

SenderThe viewer whose zoom changed
NewPercentNew effective zoom in percent, as reported by EffectiveZoomPercent

See also

OnZoomChange, SetZoomPercent, EffectiveZoomPercent, ZoomPercent, TPDFlibViewer