Input for WinForms | ComponentOne
C1.Framework Namespace / ContentElement Class / ScaleToDeviceDPI Method / ScaleToDeviceDPI(Thickness) Method
The value for scaling.

In This Topic
    ScaleToDeviceDPI(Thickness) Method
    In This Topic
    Scales a value uses the DeviceDpi value if this element has a HostControl.
    Syntax
    'Declaration
     
    
    Protected Overloads Function ScaleToDeviceDPI( _
       ByVal value As Thickness _
    ) As Thickness
    protected Thickness ScaleToDeviceDPI( 
       Thickness value
    )

    Parameters

    value
    The value for scaling.

    Return Value

    The scaled value.
    See Also