Udostępnij za pośrednictwem


DpiHelper.RoundToDeviceUnitsY(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 vertical coordinates/widths such as DeviceToLogicalUnitsY.

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

Parameters

value
Double

The logical value to round

Returns

Returns Double.

Applies to