ComponentOne FlexGrid for WinForms
Add(Int32,Int32,Int32,Int32) Method

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.
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

Reference

CellRangeCollection Class
CellRangeCollection Members
Overload List