共用方式為


DpiHelper.RoundToDeviceUnitsY(Double) Method

Definition

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

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

Parameters

value
Double

The logical value to round

Returns

The logical value to round.

Applies to