DpiHelper.RoundToDeviceUnitsX(Double) Method

Definition

Returns the closest value in logical units that will be converted to an integer value if it is converted back to device units using functions for horizontal coordinates/widths such as DeviceToLogicalUnitsX.

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

Parameters

value
Double

The logical value to round

Returns

Returns Double.

Applies to