[]
Creates an instance of an XLCellRange object containing an empty range.
public XLCellRange()
Public Sub New()
Creates an instance of an XLCellRange object containing a specified range.
public XLCellRange(int rowFrom, int rowTo, int colFrom, int colTo)
Public Sub New(rowFrom As Integer, rowTo As Integer, colFrom As Integer, colTo As Integer)
| 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)
Public Sub New(sheet As XLSheet, rowFrom As Integer, rowTo As Integer, colFrom As Integer, colTo As Integer)
| 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)
Public Sub New(sheet As XLSheet, rowFrom As Integer, rowTo As Integer, colFrom As Integer, colTo As Integer, rowFromRef As XLReferenceType, rowToRef As XLReferenceType, colFromRef As XLReferenceType, colToRef As XLReferenceType)
| 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)
Public Sub New(ws As XLSheet, row As Integer, col As Integer, rowRef As XLReferenceType, colRef As XLReferenceType)
| 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)
Public Sub New(sheetFrom As Integer, sheetTo As Integer, rowFrom As Integer, rowTo As Integer, colFrom As Integer, colTo As Integer, rowFromRef As XLReferenceType, rowToRef As XLReferenceType, colFromRef As XLReferenceType, colToRef As XLReferenceType)
| 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)
Public Sub New(sheet As XLSheet, reference As String)
| 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)
Public Sub New(book As C1XLBook, reference As String)
| Type | Name | Description |
|---|---|---|
| C1XLBook | book | The owner workbook for the range. |
| string | reference | The text presentation of a specified range. |