TPDFlibViewerZoomMode

Data types, viewer interaction

Description

Enum that selects how the viewer derives its effective zoomConsumed by the

ZoomModeSetZoomMode

TPDFlibViewerFitWidth property, TPDFlibViewerFitPage and the viewer's layout arithmetic; in fit modes the effective factor comes from the page and viewport sizes and is recomputed on resize, rotation and DPI change. The fit actions Checked and

Declaration

TPDFlibViewerZoomMode = (zmPercent, zmFitWidth, zmFitPage);

Values

zmPercentUses ZoomPercent directly, with 100 percent mapping one PDF point to ScreenDPI/72 pixels
zmFitWidthComputes the largest zoom at which the full page width fits the viewport
zmFitPageComputes the largest zoom at which the whole page fits the viewport

See also

ZoomMode, SetZoomMode, ZoomPercent, EffectiveZoomPercent, TPDFlibViewerFitWidth, TPDFlibViewerFitPage