Partager via


DpiHelper.LogicalToDeviceUnitsY Method (Int32)

Returns the closest value in logical units that will be converted to an integer value when converted to vertical device units.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Function LogicalToDeviceUnitsY ( _
    value As Integer _
) As Integer
public static int LogicalToDeviceUnitsY(
    int value
)
public:
static int LogicalToDeviceUnitsY(
    int value
)
static member LogicalToDeviceUnitsY : 
        value:int -> int
public static function LogicalToDeviceUnitsY(
    value : int
) : int

Parameters

  • value
    Type: Int32

    The integer.

Return Value

Type: Int32
The logical value to round.

.NET Framework Security

See Also

Reference

DpiHelper Class

LogicalToDeviceUnitsY Overload

Microsoft.VisualStudio.PlatformUI Namespace