DpiHelper::DeviceToLogicalUnits Method (Thickness)

Visual Studio 2015
 

Returns a new Thickness 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:
Thickness DeviceToLogicalUnits(
	Thickness deviceThickness
)

Parameters

deviceThickness
Type: System.Windows::Thickness

The thickness in device units.

Return Value

Type: System.Windows::Thickness

The thickness in logical units.

Return to top
Show: