DpiHelper.DeviceToLogicalUnitsY Method (Double)
Transforms a vertical coordinate from device to logical units.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function DeviceToLogicalUnitsY ( _
value As Double _
) As Double
public static double DeviceToLogicalUnitsY(
double value
)
public:
static double DeviceToLogicalUnitsY(
double value
)
static member DeviceToLogicalUnitsY :
value:float -> float
public static function DeviceToLogicalUnitsY(
value : double
) : double
Parameters
value
Type: DoubleThe vertical value in device units.
Return Value
Type: Double
The vertical value in logical units.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.