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.7+b0ed5f8a99a50b9e6528224889fbd7f23c30b364
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