Ribbon for WinForms | ComponentOne
C1.Win.Ribbon Namespace / C1RibbonForm Class / LogicalToDeviceThickness Method
The C1.Framework.Thickness to be scaled.

In This Topic
    LogicalToDeviceThickness Method (C1RibbonForm)
    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 Function LogicalToDeviceThickness( _
       ByVal value As Thickness _
    ) As Thickness
    public Thickness LogicalToDeviceThickness( 
       Thickness value
    )

    Parameters

    value
    The C1.Framework.Thickness to be scaled.

    Return Value

    The scaled C1.Framework.Thickness.
    See Also