DpiHelper.DeviceToLogicalUnitsX 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 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
设备单位中的水平值
返回
逻辑单元中的水平值
适用于
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
设备单位中的水平值
返回
逻辑单元中的水平值
适用于
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
设备单位中的水平值
返回
逻辑单元中的水平值