DpiHelper.DeviceToLogicalUnitsX Method (Single)

Transforms a horizontal 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 DeviceToLogicalUnitsX ( _
    value As Single _
) As Single
public static float DeviceToLogicalUnitsX(
    float value
)
public:
static float DeviceToLogicalUnitsX(
    float value
)
static member DeviceToLogicalUnitsX : 
        value:float32 -> float32
public static function DeviceToLogicalUnitsX(
    value : float
) : float

Parameters

  • value
    Type: Single

    The horizontal value in device units.

Return Value

Type: Single
The horizontal value in logical units.

.NET Framework Security

See Also

Reference

DpiHelper Class

DeviceToLogicalUnitsX Overload

Microsoft.VisualStudio.PlatformUI Namespace