TPDFlibViewerZoomMode

資料類型、檢視器互動

描述

選取檢視器如何推導有效縮放的列舉由

ZoomModeSetZoomMode

TPDFlibViewerFitWidth 屬性、TPDFlibViewerFitPage 與檢視器的版面計算使用;在符合模式下,有效倍率來自頁面與檢視區的大小,並在調整大小、旋轉與 DPI 變更時重算符合模式的動作 Checked 與

宣告

TPDFlibViewerZoomMode = (zmPercent, zmFitWidth, zmFitPage);

參數

zmPercent直接使用 ZoomPercent,100% 時一個 PDF 點對應 ScreenDPI/72 像素
zmFitWidth計算讓整個頁寬符合檢視區的最大縮放
zmFitPage計算讓整頁符合檢視區的最大縮放

另請參閱

ZoomMode, SetZoomMode, ZoomPercent, EffectiveZoomPercent, TPDFlibViewerFitWidth, TPDFlibViewerFitPage