Partager via


DpiHelper.DeviceToLogicalUnitsY Method (Int32)

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 Integer _
) As Integer
public static int DeviceToLogicalUnitsY(
    int value
)
public:
static int DeviceToLogicalUnitsY(
    int value
)
static member DeviceToLogicalUnitsY : 
        value:int -> int
public static function DeviceToLogicalUnitsY(
    value : int
) : int

Parameters

  • value
    Type: Int32

    The vertical value in device units.

Return Value

Type: Int32
The vertical value in logical units.

.NET Framework Security

See Also

Reference

DpiHelper Class

DeviceToLogicalUnitsY Overload

Microsoft.VisualStudio.PlatformUI Namespace