SetZoomMode
Viewer interaction
Description
Selects how the zoom is computed: zmPercent uses the stored percentage, while zmFitWidth and zmFitPage derive the factor from the viewport and the current page size
Fit modes recompute on resize, rotation and DPI changes; the mode in effect is reported by the read-only ZoomMode property
Syntax
Delphi
Procedure TPDFlibViewer.SetZoomMode(Mode: TPDFlibViewerZoomMode);Parameters
| Mode | New zoom mode: zmPercent, zmFitWidth or zmFitPage |
|---|
See also
SetZoomPercent, ZoomMode, ZoomInStep, ZoomOutStep, TPDFlibViewer