[]
Appends an XLCellRange object to the collection.
public XLCellRange Add(XLCellRange cr)
Type | Name | Description |
---|---|---|
XLCellRange | cr | XLCellRange object to add to the collection. |
Type | Description |
---|---|
XLCellRange | A reference to the object if it was successfully added to the collection, or null if the object could not be added to the collection (usually because it overlaps another cell range already in the collection). |
Creates an XLCellRange object and appends it to the collection.
public XLCellRange Add(int rowIndex, int colIndex, int rowCount, int colCount)
Type | Name | Description |
---|---|---|
int | rowIndex | Index of the top row in the cell range. |
int | colIndex | Index of the left column in the cell range. |
int | rowCount | Number of rows in the cell range. |
int | colCount | Number of columns in the cell range. |
Type | Description |
---|---|
XLCellRange | A reference to the object if it was successfully added to the collection, or null if the object could not be added to the collection (usually because it overlaps another cell range already in the collection). |