DpiHelper.LogicalToDeviceUnitsY 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
LogicalToDeviceUnitsY(Single) |
Transforms a vertical coordinate from logical to device units |
LogicalToDeviceUnitsY(Double) |
Transforms a vertical coordinate from logical to device units |
LogicalToDeviceUnitsY(Int32) |
Transforms a vertical integer coordinate from logical to device units by scaling it up for current DPI and rounding to nearest integer value |
LogicalToDeviceUnitsY(Single)
Transforms a vertical coordinate from logical to device units
public:
static float LogicalToDeviceUnitsY(float value);
public:
static float LogicalToDeviceUnitsY(float value);
static float LogicalToDeviceUnitsY(float value);
public static float LogicalToDeviceUnitsY (float value);
static member LogicalToDeviceUnitsY : single -> single
Public Function LogicalToDeviceUnitsY (value As Single) As Single
Parameters
- value
- Single
The vertical value in logical units
Returns
The vertical value in device units
Applies to
LogicalToDeviceUnitsY(Double)
Transforms a vertical coordinate from logical to device units
public:
static double LogicalToDeviceUnitsY(double value);
public:
static double LogicalToDeviceUnitsY(double value);
static double LogicalToDeviceUnitsY(double value);
public static double LogicalToDeviceUnitsY (double value);
static member LogicalToDeviceUnitsY : double -> double
Public Function LogicalToDeviceUnitsY (value As Double) As Double
Parameters
- value
- Double
The vertical value in logical units
Returns
The vertical value in device units
Applies to
LogicalToDeviceUnitsY(Int32)
Transforms a vertical integer coordinate from logical to device units by scaling it up for current DPI and rounding to nearest integer value
public:
static int LogicalToDeviceUnitsY(int value);
public:
static int LogicalToDeviceUnitsY(int value);
static int LogicalToDeviceUnitsY(int value);
public static int LogicalToDeviceUnitsY (int value);
static member LogicalToDeviceUnitsY : int -> int
Public Function LogicalToDeviceUnitsY (value As Integer) As Integer
Parameters
- value
- Int32
The vertical value in logical units
Returns
The vertical value in device units