Compartir a través de


DpiHelper.LogicalToDeviceUnitsY Method

Definition

Overloads

LogicalToDeviceUnitsY(Single)

Transforms a vertical coordinate from logical to device units

LogicalToDeviceUnitsY(Double)

Transforms a vertical coordinate from logical to device units

LogicalToDeviceUnitsY(Int32)

Transforms a vertical integer coordinate from logical to device units by scaling it up for current DPI and rounding to nearest integer value

LogicalToDeviceUnitsY(Single)

Transforms a vertical coordinate from logical to device units

public:
 float LogicalToDeviceUnitsY(float value);
public:
 float LogicalToDeviceUnitsY(float value);
float LogicalToDeviceUnitsY(float value);
public float LogicalToDeviceUnitsY (float value);
member this.LogicalToDeviceUnitsY : single -> single
Public Function LogicalToDeviceUnitsY (value As Single) As Single

Parameters

value
Single

The vertical value in logical units

Returns

The vertical value in device units

Applies to

LogicalToDeviceUnitsY(Double)

Transforms a vertical coordinate from logical to device units

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

Parameters

value
Double

The vertical value in logical units

Returns

The vertical value in device units

Applies to

LogicalToDeviceUnitsY(Int32)

Transforms a vertical integer coordinate from logical to device units by scaling it up for current DPI and rounding to nearest integer value

public:
 int LogicalToDeviceUnitsY(int value);
public:
 int LogicalToDeviceUnitsY(int value);
int LogicalToDeviceUnitsY(int value);
public int LogicalToDeviceUnitsY (int value);
member this.LogicalToDeviceUnitsY : int -> int
Public Function LogicalToDeviceUnitsY (value As Integer) As Integer

Parameters

value
Int32

The vertical value in logical units

Returns

The vertical value in device units

Applies to