Condividi tramite


DpiHelper.RoundToDeviceUnitsY Method

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 RoundToDeviceUnitsY ( _
    value As Double _
) As Double
public static double RoundToDeviceUnitsY(
    double value
)
public:
static double RoundToDeviceUnitsY(
    double value
)
static member RoundToDeviceUnitsY : 
        value:float -> float
public static function RoundToDeviceUnitsY(
    value : double
) : double

Parameters

  • value
    Type: Double

    The value.

Return Value

Type: Double
The logical value to round.

.NET Framework Security

See Also

Reference

DpiHelper Class

Microsoft.VisualStudio.PlatformUI Namespace