Ribbon for WinForms | ComponentOne
C1.Framework Namespace / ScrollableControl Class / GetScrollOnePercent Method
A System.IntPtr indicates the handle of ScrollableControl
The int value of scroll bar

In This Topic
    GetScrollOnePercent Method (ScrollableControl)
    In This Topic
    Gets size of one percent of scroll.
    Syntax
    'Declaration
     
    
    Protected Shared Function GetScrollOnePercent( _
       ByVal handle As IntPtr, _
       ByVal nBar As Integer _
    ) As Double
    protected static double GetScrollOnePercent( 
       IntPtr handle,
       int nBar
    )

    Parameters

    handle
    A System.IntPtr indicates the handle of ScrollableControl
    nBar
    The int value of scroll bar
    See Also