TreeView for WinForms | ComponentOne
C1.Win.Util Namespace / DpiHelper Class / GetBorderSize Method
The DPI value for the current display device.

In This Topic
    GetBorderSize Method (DpiHelper)
    In This Topic
    Gets the default size, in pixels, of the border for a current DPI value.
    Syntax
    'Declaration
     
    
    Public Shared Function GetBorderSize( _
       ByVal dpi As Integer _
    ) As Size
    public static Size GetBorderSize( 
       int dpi
    )

    Parameters

    dpi
    The DPI value for the current display device.
    See Also