SetZoomPercent
Viewer interaction
Description
Sets an explicit zoom percentage, clamped into the 1 to 6400 range, and switches the zoom mode to zmPercentThe change re-renders the view and
OnZoomChange fires when the effective zoom moved
Syntax
Delphi
Procedure TPDFlibViewer.SetZoomPercent(Percent: Double);Parameters
| Percent | Zoom percentage, clamped to 1..6400 |
|---|
See also
SetZoomMode, ZoomPercent, ZoomInStep, ZoomOutStep, OnZoomChange, TPDFlibViewer