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

PicoXLSX

PicoXLSX

CellGetCellRange Method (Int32, Int32, Int32, Int32)

Get a list of cell addresses from a cell range

Namespace:  PicoXLSX
Assembly:  PicoXLSX (in PicoXLSX.dll) Version: 2.4.0.0 (2.4.0)
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