FlexGrid for WinForms | ComponentOne
C1.Win.FlexGrid Namespace / CellRangeCollection Class / Add Method / Add(Int32,Int32,Int32,Int32) Method
Top row in the range.
Left column in the range.
Bottom row in the range.
Right column in the range.

In This Topic
    Add(Int32,Int32,Int32,Int32) Method
    In This Topic
    Adds a new CellRange object to the collection.
    Syntax
    'Declaration
     
    
    Public Overloads Function Add( _
       ByVal topRow As Integer, _
       ByVal leftCol As Integer, _
       ByVal bottomRow As Integer, _
       ByVal rightCol As Integer _
    ) As Integer

    Parameters

    topRow
    Top row in the range.
    leftCol
    Left column in the range.
    bottomRow
    Bottom row in the range.
    rightCol
    Right column in the range.

    Return Value

    The index of the object in the collection.
    See Also