InputPanel for WinForms | ComponentOne
C1.Win.4.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 Integer, _
       ByVal top As Integer, _
       ByVal right As Integer, _
       ByVal bottom As Integer _
    ) As Thickness
    public Thickness LogicalToDeviceUnits( 
       int left,
       int top,
       int right,
       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