Share via


DpiHelper.RoundToDeviceUnitsX(Double) Method

Definition

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

public:
 static double RoundToDeviceUnitsX(double value);
public:
 static double RoundToDeviceUnitsX(double value);
 static double RoundToDeviceUnitsX(double value);
public static double RoundToDeviceUnitsX (double value);
static member RoundToDeviceUnitsX : double -> double
Public Function RoundToDeviceUnitsX (value As Double) As Double

Parameters

value
Double

The logical value to round

Returns

The logical value to round.

Applies to