FlexChart | ComponentOne
C1.Win.Ribbon.4.8 Assembly / C1.Win.Ribbon Namespace / C1RibbonForm 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 C1.Framework.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 C1.Framework.Thickness
    public C1.Framework.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 C1.Framework.Thickness.
    See Also