OnZoomChange

檢視器互動

描述

有效縮放變更時帶 NewPercent 觸發,來源包括 SetZoomPercent、ZoomInStep、ZoomOutStep,以及適合模式在調整大小、旋轉與 DPI 變更時重新計算係數

NewPercent 回報目前生效的縮放,適合模式下即計算出的適合係數;值與上次回報百分比差距在 0.01 內時不發出通知

語法

Delphi

Property OnZoomChange: TPDFlibViewerZoomChange Read FOnZoomChange Write FOnZoomChange;

另請參閱

SetZoomPercent, ZoomInStep, ZoomOutStep, ZoomPercent, TPDFlibViewer