DpiHelper::RoundToDeviceUnitsX Method (Double)

 

Returns the closest value in logical units that will be converted to an integer value when converted to horizontal device units.

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

public:
static double RoundToDeviceUnitsX(
	double value
)

Parameters

value
Type: System::Double

The value.

Return Value

Type: System::Double

The logical value to round.

Return to top
Show: