DpiHelper.LogicalToDeviceUnitsX Method (Int32)
Returns the closest value in logical units that are converted to an integer value when converted to horizontal device units.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function LogicalToDeviceUnitsX ( _
value As Integer _
) As Integer
public static int LogicalToDeviceUnitsX(
int value
)
public:
static int LogicalToDeviceUnitsX(
int value
)
static member LogicalToDeviceUnitsX :
value:int -> int
public static function LogicalToDeviceUnitsX(
value : int
) : int
Parameters
value
Type: Int32The integer.
Return Value
Type: Int32
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.