DocumentViewerBase.OnDpiChanged(DpiScale, DpiScale) 方法

定義

當 DPI 縮放比例變更時會叫用。 將非固定格式文件的 DPI 設為新的縮放比例。

protected:
 override void OnDpiChanged(System::Windows::DpiScale oldDpiScaleInfo, System::Windows::DpiScale newDpiScaleInfo);
protected override void OnDpiChanged (System.Windows.DpiScale oldDpiScaleInfo, System.Windows.DpiScale newDpiScaleInfo);
override this.OnDpiChanged : System.Windows.DpiScale * System.Windows.DpiScale -> unit
Protected Overrides Sub OnDpiChanged (oldDpiScaleInfo As DpiScale, newDpiScaleInfo As DpiScale)

參數

oldDpiScaleInfo
DpiScale

先前的 DPI 縮放比例設定。

newDpiScaleInfo
DpiScale

新的 DPI 縮放比例設定。

適用於