ComponentOne SuperTooltip for WinForms
C1.Win.8 Assembly / C1.Framework Namespace / XView Class / LogicalToDeviceUnits Method / LogicalToDeviceUnits(Int32,Int32,Int32,Int32) Method
The left to be scaled.
The top to be scaled.
The right to be scaled.
The bottom to be scaled.

In This Topic
    LogicalToDeviceUnits(Int32,Int32,Int32,Int32) Method
    In This Topic
    Transforms a Thickness from logical to device units by scaling it for the current DPI and rounding down to the nearest integer value for left, right, top and bottom.
    Syntax
    'Declaration
     
    Public Overloads Function LogicalToDeviceUnits( _
       ByVal left As System.Integer, _
       ByVal top As System.Integer, _
       ByVal right As System.Integer, _
       ByVal bottom As System.Integer _
    ) As Thickness
    public Thickness LogicalToDeviceUnits( 
       System.int left,
       System.int top,
       System.int right,
       System.int bottom
    )

    Parameters

    left
    The left to be scaled.
    top
    The top to be scaled.
    right
    The right to be scaled.
    bottom
    The bottom to be scaled.

    Return Value

    The scaled Thickness.
    See Also