編輯

共用方式為


DocumentViewerBase.OnDpiChanged(DpiScale, DpiScale) Method

Definition

Invoked when the DPI scale changes. Sets the DPI of the flow document to the new scale.

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)

Parameters

oldDpiScaleInfo
DpiScale

The previous DPI scale setting.

newDpiScaleInfo
DpiScale

The new DPI scale setting.

Applies to