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(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 |
DeviceToLogicalUnitsX(Double)
Transforms a horizontal coordinate from device to logical units
public:
static double DeviceToLogicalUnitsX(double value);
public:
static double DeviceToLogicalUnitsX(double value);
static double DeviceToLogicalUnitsX(double value);
public static double DeviceToLogicalUnitsX (double value);
static member 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:
static int DeviceToLogicalUnitsX(int value);
public:
static int DeviceToLogicalUnitsX(int value);
static int DeviceToLogicalUnitsX(int value);
public static int DeviceToLogicalUnitsX (int value);
static member 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
Applies to
DeviceToLogicalUnitsX(Single)
Transforms a horizontal coordinate from device to logical units
public:
static float DeviceToLogicalUnitsX(float value);
public:
static float DeviceToLogicalUnitsX(float value);
static float DeviceToLogicalUnitsX(float value);
public static float DeviceToLogicalUnitsX (float value);
static member 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