TreeView for WinForms | ComponentOne
C1.Framework Namespace / ScrollBarPanel Class / ScaleToDPI Method / ScaleToDPI(Thickness,Int32) Method
The value for scaling.
The dpi of display device.

In This Topic
    ScaleToDPI(Thickness,Int32) Method
    In This Topic
    Scales a value to custom display device dpi.
    Syntax
    'Declaration
     
    
    Protected Overloads Function ScaleToDPI( _
       ByVal value As Thickness, _
       ByVal dpi As Integer _
    ) As Thickness
    protected Thickness ScaleToDPI( 
       Thickness value,
       int dpi
    )

    Parameters

    value
    The value for scaling.
    dpi
    The dpi of display device.

    Return Value

    The scaled value.
    See Also