DpiHelper.DeviceToLogicalUnits Method (Rect)

 

Microsoft internal use only.

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public static Rect DeviceToLogicalUnits(
	this Rect deviceRect
)

Parameters

deviceRect
Type: System.Windows.Rect

Rect in device coordinates

Return Value

Type: System.Windows.Rect

The logical units.

Return to top
Show: