DocumentPageView::OnDpiChanged Method (DpiScale, DpiScale)

 

Invoked when the DPI setting for the document page view is changed.

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 available size that the parent can give to the child. This is soft constraint.

newDpiScaleInfo
Type: System.Windows::DpiScale

The DocumentPageView's desired size.

.NET Framework
Available since 4.6.2
Return to top
Show: