Cell.GetCellRange Method (Int32, Int32, Int32, Int32)

NanoXLSX

NanoXLSX

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)
Syntax
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: ListCellAddress
List of cell addresses
Exceptions
ExceptionCondition
RangeExceptionThrows an RangeException if the value of one passed address parts is out of range (A-XFD and 1 to 1048576)
See Also