NanoXLSX Library Documentation
![]() | CellGetCellRange Method (Int32, Int32, Int32, Int32) |
Get a list of cell addresses from a cell range
Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 1.2.3.0 (1.2.3)

C#
public static List<CellAddress> GetCellRange( int startColumn, int startRow, int endColumn, int endRow )
Parameters
- startColumn
- Type: SystemInt32
Start column (zero based) - startRow
- Type: SystemInt32
Start row (zero based) - endColumn
- Type: SystemInt32
End column (zero based) - endRow
- Type: SystemInt32
End row (zero based)
Return Value
Type: ListCellAddressList of cell addresses

Exception | Condition |
---|---|
RangeException | Throws an RangeException if the value of one passed address parts is out of range (A-XFD and 1 to 1048576) |
