DpiHelper.RoundToDeviceUnitsY Method (Double)

 

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.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public static double RoundToDeviceUnitsY(
	double value
)

Parameters

value
Type: System.Double

The value.

Return Value

Type: System.Double

The logical value to round.

Return to top
Show: