CellsCreateRange Method (Int32, Int32, Boolean)

Creates a Range object from rows of cells or columns of cells.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.6.0.0 (21.6)
Syntax
public Range CreateRange(
	int firstIndex,
	int number,
	bool isVertical
)

Parameters

firstIndex
Type: SystemInt32
First row index or first column index, zero based.
number
Type: SystemInt32
Total number of rows or columns, one based.
isVertical
Type: SystemBoolean
True - Range created from columns of cells. False - Range created from rows of cells.

Return Value

Type: Range
A Range object.
See Also