Click or drag to resize
NanoXLSX

CellGetCellRange(Int32, Int32, Int32, Int32) Method

Get a list of cell addresses from a cell range

Namespace: NanoXLSX
Assembly: NanoXLSX (in NanoXLSX.dll) Version: 2.6.3+98f265239ae8df4639650ecd7029244cc5e52dfc
Syntax
C#
public static IEnumerable<Address> GetCellRange(
	int startColumn,
	int startRow,
	int endColumn,
	int endRow
)

Parameters

startColumn  Int32
Start column (zero based)
startRow  Int32
Start row (zero based)
endColumn  Int32
End column (zero based)
endRow  Int32
End row (zero based)

Return Value

IEnumerableAddress
List of cell addresses
Exceptions
ExceptionCondition
RangeExceptionThrows a RangeException if the value of one passed address parts is out of range (A-XFD and 1 to 1048576)
See Also