次の方法で共有


DpiHelper.LogicalToDeviceUnitsX Method

Definition

Overloads

LogicalToDeviceUnitsX(Double)

Transforms a horizontal coordinate from logical to device units

LogicalToDeviceUnitsX(Int32)

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

LogicalToDeviceUnitsX(Single)

Transforms a horizontal coordinate from logical to device units

LogicalToDeviceUnitsX(Double)

Transforms a horizontal coordinate from logical to device units

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

Parameters

value
Double

The horizontal value in logical units

Returns

The horizontal value in device units

Applies to

LogicalToDeviceUnitsX(Int32)

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

public:
 static int LogicalToDeviceUnitsX(int value);
public:
 static int LogicalToDeviceUnitsX(int value);
 static int LogicalToDeviceUnitsX(int value);
public static int LogicalToDeviceUnitsX (int value);
static member LogicalToDeviceUnitsX : int -> int
Public Function LogicalToDeviceUnitsX (value As Integer) As Integer

Parameters

value
Int32

The horizontal value in logical units

Returns

The horizontal value in device units

Applies to

LogicalToDeviceUnitsX(Single)

Transforms a horizontal coordinate from logical to device units

public:
 static float LogicalToDeviceUnitsX(float value);
public:
 static float LogicalToDeviceUnitsX(float value);
 static float LogicalToDeviceUnitsX(float value);
public static float LogicalToDeviceUnitsX (float value);
static member LogicalToDeviceUnitsX : single -> single
Public Function LogicalToDeviceUnitsX (value As Single) As Single

Parameters

value
Single

The horizontal value in logical units

Returns

The horizontal value in device units

Applies to