DocumentViewerBase::OnDpiChanged Method (DpiScale, DpiScale)

 

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

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected:
virtual void OnDpiChanged(
	DpiScale oldDpiScaleInfo,
	DpiScale newDpiScaleInfo
) override

Parameters

oldDpiScaleInfo
Type: System.Windows::DpiScale

The previous DPI scale setting.

newDpiScaleInfo
Type: System.Windows::DpiScale

The new DPI scale setting.

.NET Framework
Available since 4.6.2
Return to top
Show: