Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpreadTreeHelper Class / GetRectangle Method / GetRectangle(FpSpread,Int32,Int32,ScrollBar,ScrollBarButtonType) Method
The FpSpread control.
The viewport row index.
The viewport column index.
The scrollbar form control.
A GrapeCity.Spreadsheet.FormControls.ScrollBarButtonType value indicates the button of scrollbar.


In This Topic
    GetRectangle(FpSpread,Int32,Int32,ScrollBar,ScrollBarButtonType) Method
    In This Topic
    Gets the rectangle of button of scrollbar.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetRectangle( _
       ByVal spread As FpSpread, _
       ByVal rowPane As Integer, _
       ByVal columnPane As Integer, _
       ByVal scrollbar As ScrollBar, _
       ByVal buttonType As ScrollBarButtonType _
    ) As Rectangle
    'Usage
     
    
    Dim spread As FpSpread
    Dim rowPane As Integer
    Dim columnPane As Integer
    Dim scrollbar As ScrollBar
    Dim buttonType As ScrollBarButtonType
    Dim value As Rectangle
     
    value = FpSpreadTreeHelper.GetRectangle(spread, rowPane, columnPane, scrollbar, buttonType)
    public static Rectangle GetRectangle( 
       FpSpread spread,
       int rowPane,
       int columnPane,
       ScrollBar scrollbar,
       ScrollBarButtonType buttonType
    )

    Parameters

    spread
    The FpSpread control.
    rowPane
    The viewport row index.
    columnPane
    The viewport column index.
    scrollbar
    The scrollbar form control.
    buttonType
    A GrapeCity.Spreadsheet.FormControls.ScrollBarButtonType value indicates the button of scrollbar.
    See Also