DpiHelper::DeviceToLogicalUnits Method (Size)

Visual Studio 2015
 

Returns a new Size with the input's dimensions converted from device units to logical units.

Namespace:   Microsoft.VisualStudio.Utilities.Dpi
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

public:
Size DeviceToLogicalUnits(
	Size deviceSize
)

Parameters

deviceSize
Type: System.Windows::Size

The size in device units.

Return Value

Type: System.Windows::Size

The size in logical units.

Return to top
Show: