ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.8 Assembly / C1.Win.C1FlexGrid 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
    public int Add( 
       int topRow,
       int leftCol,
       int bottomRow,
       int rightCol
    )

    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