Compartir a través de


DpiHelper.DeviceToLogicalUnitsY Method (Single)

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 Single _
) As Single
public static float DeviceToLogicalUnitsY(
    float value
)
public:
static float DeviceToLogicalUnitsY(
    float value
)
static member DeviceToLogicalUnitsY : 
        value:float32 -> float32
public static function DeviceToLogicalUnitsY(
    value : float
) : float

Parameters

  • value
    Type: Single

    The vertical value in device units.

Return Value

Type: Single
The vertical value in logical units.

.NET Framework Security

See Also

Reference

DpiHelper Class

DeviceToLogicalUnitsY Overload

Microsoft.VisualStudio.PlatformUI Namespace