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

In This Topic
    GetVerticalScrollBarWidth Method (DpiHelper)
    In This Topic
    Gets the default height, in pixels, of the vertical scroll bar for a current DPI value.
    Syntax
    'Declaration
     
    
    Public Shared Function GetVerticalScrollBarWidth( _
       ByVal dpi As Integer _
    ) As Integer
    public static int GetVerticalScrollBarWidth( 
       int dpi
    )

    Parameters

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