DpiHelper::DeviceToLogicalUnits Method (Thickness)

 

Converts the specified measurement to logical units.

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

public:
[ExtensionAttribute]
static Thickness DeviceToLogicalUnits(
	Thickness deviceThickness
)

Parameters

deviceThickness
Type: System.Windows::Thickness

The device thickness.

Return Value

Type: System.Windows::Thickness

The logical units.

Return to top
Show: