DpiHelper.LogicalToDeviceUnitsX Method (Double)
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 Double _
) As Double
public static double LogicalToDeviceUnitsX(
double value
)
public:
static double LogicalToDeviceUnitsX(
double value
)
static member LogicalToDeviceUnitsX :
value:float -> float
public static function LogicalToDeviceUnitsX(
value : double
) : double
Parameters
value
Type: DoubleThe double.
Return Value
Type: Double
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.