DpiHelper.LogicalToDeviceUnitsY Method (Single)
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 Single _
) As Single
public static float LogicalToDeviceUnitsY(
float value
)
public:
static float LogicalToDeviceUnitsY(
float value
)
static member LogicalToDeviceUnitsY :
value:float32 -> float32
public static function LogicalToDeviceUnitsY(
value : float
) : float
Parameters
value
Type: SingleThe single.
Return Value
Type: Single
The logical value to round.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.