NanoXLSX Library Documentation
![]() | CellGetCellRange Method (CellAddress, CellAddress) |
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)
SyntaxC#
public static List<CellAddress> GetCellRange( CellAddress startAddress, CellAddress endAddress )
Parameters
- startAddress
- Type: NanoXLSXCellAddress
Start address - endAddress
- Type: NanoXLSXCellAddress
End address
Return Value
Type: ListCellAddressList of cell addresses
Exceptions| Exception | Condition |
|---|---|
| FormatException | Throws a FormatException if a part of the passed addresses is malformed |
| RangeException | Throws an RangeException if the value of one passed address is out of range (A-XFD and 1 to 1048576) |
See Also