DpiHelper.DeviceToLogicalUnitsX 方法

定义

重载

DeviceToLogicalUnitsX(Single)

将水平坐标从设备转换为逻辑单元

DeviceToLogicalUnitsX(Double)

将水平坐标从设备转换为逻辑单元

DeviceToLogicalUnitsX(Int32)

将水平整数坐标从设备转换为逻辑单元

DeviceToLogicalUnitsX(Single)

将水平坐标从设备转换为逻辑单元

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

参数

value
Single

设备单位中的水平值

返回

Single

逻辑单元中的水平值

适用于

DeviceToLogicalUnitsX(Double)

将水平坐标从设备转换为逻辑单元

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

参数

value
Double

设备单位中的水平值

返回

Double

逻辑单元中的水平值

适用于

DeviceToLogicalUnitsX(Int32)

将水平整数坐标从设备转换为逻辑单元

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

参数

value
Int32

设备单位中的水平值

返回

Int32

逻辑单元中的水平值

适用于