The CellRange type exposes the following members.
Back to Top
Back to Top
Back to Top
Methods
| Name | Description | |
|---|---|---|
| CopyTo(String) |
Copies this cell range to another position in the same worksheet.
| |
| CopyTo(Int32, Int32) |
Copies this cell range to another position in the same worksheet.
| |
| CopyTo(ExcelWorksheet, String) |
Copies this cell range to another worksheet.
| |
| CopyTo(ExcelWorksheet, Int32, Int32) |
Copies this cell range to another worksheet.
| |
| Equals | (Overrides Object Equals(Object).) | |
| FindText |
Finds the first occurrence of the specified text in the current cell range.
| |
| GetEnumerator |
Returns an enumerator for the CellRange (all cells).
| |
| GetHashCode |
Returns the hash code of this object.
(Overrides Object GetHashCode .) | |
| GetReadEnumerator |
Returns enumerator for the CellRange (only allocated cells).
| |
| GetSubrange |
Returns new cell range using start and end position.
| |
| GetSubrangeAbsolute |
Returns new cell range using absolute indexing.
| |
| GetSubrangeRelative |
Returns new cell range using relative indexing.
| |
| Overlaps |
Checks if this cell range overlaps with another cell range.
| |
| PositionToRowColumn |
Converts position string ("A1", "BN27", etc.) to row and column index.
| |
| RowColumnToPosition |
Converts row and column index to position string ("A1", "BN27", etc.).
| |
| SetBorders |
Sets borders on one or more excel cells, taking cell position into account.
(Overrides AbstractRange SetBorders(MultipleBorders, Color, LineStyle).) | |
| Sort( SortDescription ) | ||
| Sort(IEnumerable SortDescription ) | ||
| ToString | (Overrides Object ToString .) |
Properties
| Name | Description | |
|---|---|---|
| Comment |
Gets or sets comment
(Overrides AbstractRange Comment.) | |
| EndPosition |
Gets name of the last (bottom-right) cell in this cell range.
| |
| FirstColumnIndex |
Gets index of the first (leftmost) column.
| |
| FirstRowIndex |
Gets index of the first (topmost) row.
| |
| Formula |
Gets or sets formula string.
(Overrides AbstractRange Formula.) | |
| Height |
Gets height of this cell range, in rows.
| |
| IndexingMode |
Gets indexing mode used for cell range.
| |
| IsAnyCellMerged |
Returns is any cell in this cell range is merged; otherwise, .
| |
| IsStyleDefault |
Returns if all cells in cell range or merged range have default
cell style; otherwise, .
(Overrides AbstractRange IsStyleDefault.) | |
| Item Int32 |
Gets excel cell at the specified index.
| |
| Item String |
Gets excel cell with the specified full or partial name.
| |
| Item Int32, Int32 |
Gets excel cell at the specified relative position.
| |
| LastColumnIndex |
Gets index of the last (rightmost) column.
| |
| LastRowIndex |
Gets index of the last (bottommost) row.
| |
| Merged |
Gets or sets whether cells in this range are merged.
| |
| StartPosition |
Gets name of the first (top-left) cell in this cell range.
| |
| Style |
Gets or sets cell style (CellStyle) on one or more excel cells.
(Overrides AbstractRange Style.) | |
| Value |
Gets or sets cell value on one or more excel cells.
(Overrides AbstractRange Value.) | |
| Width |
Gets width of this cell range, in columns.
|
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| IEnumerable GetEnumerator |
Returns an enumerator for the CellRange (all cells).
|
See Also