[]
Creates an instance of an XLCellRange object containing an empty range.
public XLCellRange()
Creates an instance of an XLCellRange object containing a specified range.
public XLCellRange(int rowFrom, int rowTo, int colFrom, int colTo)
| Type | Name | Description |
|---|---|---|
| int | rowFrom | Top row in the range. |
| int | rowTo | Bottom row in the range. |
| int | colFrom | Left column in the range. |
| int | colTo | Right column in the range. |
Creates an instance of an XLCellRange object containing a specified range.
public XLCellRange(XLSheet sheet, int rowFrom, int rowTo, int colFrom, int colTo)
| Type | Name | Description |
|---|---|---|
| XLSheet | sheet | The XLSheet of this cell range. |
| int | rowFrom | Top row in the range. |
| int | rowTo | Bottom row in the range. |
| int | colFrom | Left column in the range. |
| int | colTo | Right column in the range. |
Creates an instance of an XLCellRange object containing a specified range.
public XLCellRange(XLSheet sheet, int rowFrom, int rowTo, int colFrom, int colTo, XLReferenceType rowFromRef, XLReferenceType rowToRef, XLReferenceType colFromRef, XLReferenceType colToRef)
| Type | Name | Description |
|---|---|---|
| XLSheet | sheet | The XLSheet of this cell range. |
| int | rowFrom | T0op row in the range. |
| int | rowTo | Bottom row in the range. |
| int | colFrom | Left column in the range. |
| int | colTo | Right column in the range. |
| XLReferenceType | rowFromRef | The reference type of the top row in the range. |
| XLReferenceType | rowToRef | The reference type of the bottom row in the range. |
| XLReferenceType | colFromRef | The reference type of the left column in the range. |
| XLReferenceType | colToRef | The reference type of the right column in the range. |
Creates an instance of an XLCellRange object containing a specified range.
public XLCellRange(XLSheet ws, int row, int col, XLReferenceType rowRef, XLReferenceType colRef)
| Type | Name | Description |
|---|---|---|
| XLSheet | ws | The XLSheet of the range. |
| int | row | The row in the range equal one cell. |
| int | col | The column in the range equal one cell. |
| XLReferenceType | rowRef | The reference type of the row. |
| XLReferenceType | colRef | The reference type of the column. |
Creates an instance of an XLCellRange object containing a specified range.
public XLCellRange(int sheetFrom, int sheetTo, int rowFrom, int rowTo, int colFrom, int colTo, XLReferenceType rowFromRef, XLReferenceType rowToRef, XLReferenceType colFromRef, XLReferenceType colToRef)
| Type | Name | Description |
|---|---|---|
| int | sheetFrom | First index of the XLSheet of the range. |
| int | sheetTo | Last index of the XLSheet of the range. |
| int | rowFrom | Top row in the range. |
| int | rowTo | Bottom row in the range. |
| int | colFrom | Left column in the range. |
| int | colTo | Right column in the range. |
| XLReferenceType | rowFromRef | The reference type of the top row in the range. |
| XLReferenceType | rowToRef | The reference type of the bottom row in the range. |
| XLReferenceType | colFromRef | The reference type of the left column in the range. |
| XLReferenceType | colToRef | The reference type of the right column in the range. |
Creates an instance of an XLCellRange object containing a specified range.
public XLCellRange(XLSheet sheet, string reference)
| Type | Name | Description |
|---|---|---|
| XLSheet | sheet | The owner sheet for the range. |
| string | reference | The text presentation of a specified range without sheets. |
Creates an instance of an XLCellRange object containing a specified range.
public XLCellRange(C1XLBook book, string reference)
| Type | Name | Description |
|---|---|---|
| C1XLBook | book | The owner workbook for the range. |
| string | reference | The text presentation of a specified range. |