DpiHelper.DeviceToLogicalUnitsX Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DeviceToLogicalUnitsX(Single) |
Transforms a horizontal coordinate from device to logical units |
DeviceToLogicalUnitsX(Double) |
Transforms a horizontal coordinate from device to logical units |
DeviceToLogicalUnitsX(Int32) |
Transforms a horizontal integer coordinate from device to logical units |
DeviceToLogicalUnitsX(Single)
Transforms a horizontal coordinate from device to logical units
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
Parameters
- value
- Single
The horizontal value in device units
Returns
The horizontal value in logical units
Applies to
DeviceToLogicalUnitsX(Double)
Transforms a horizontal coordinate from device to logical units
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
Parameters
- value
- Double
The horizontal value in device units
Returns
The horizontal value in logical units
Applies to
DeviceToLogicalUnitsX(Int32)
Transforms a horizontal integer coordinate from device to logical units
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
Parameters
- value
- Int32
The horizontal value in device units
Returns
The horizontal value in logical units