DpiHelper.DeviceToLogicalUnitsX Method (Int32)
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 Integer _
) As Integer
public static int DeviceToLogicalUnitsX(
int value
)
public:
static int DeviceToLogicalUnitsX(
int value
)
static member DeviceToLogicalUnitsX :
value:int -> int
public static function DeviceToLogicalUnitsX(
value : int
) : int
Parameters
value
Type: Int32The horizontal value in device units.
Return Value
Type: Int32
The horizontal value in logical units.
.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.