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

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

    Parameters

    value
    The Thickness to be scaled.

    Return Value

    The scaled Thickness.
    See Also