FlexGrid for WinForms
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
'Usage
 
Dim instance As CellRangeCollection
Dim topRow As Integer
Dim leftCol As Integer
Dim bottomRow As Integer
Dim rightCol As Integer
Dim value As Integer
 
value = instance.Add(topRow, leftCol, bottomRow, 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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CellRangeCollection Class
CellRangeCollection Members
Overload List

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback