Aspose::Cells::Cells::CreateRange method

Cells::CreateRange(const U16String&, const U16String&) method

Creates a Range object from a range of cells.

Range Aspose::Cells::Cells::CreateRange(const U16String &upperLeftCell, const U16String &lowerRightCell)
ParameterTypeDescription
upperLeftCellconst U16String&Upper left cell name.
lowerRightCellconst U16String&Lower right cell name.

ReturnValue

A Range object

See Also

Cells::CreateRange(const char16_t*, const char16_t*) method

Creates a Range object from a range of cells.

Range Aspose::Cells::Cells::CreateRange(const char16_t *upperLeftCell, const char16_t *lowerRightCell)
ParameterTypeDescription
upperLeftCellconst char16_t*Upper left cell name.
lowerRightCellconst char16_t*Lower right cell name.

ReturnValue

A Range object

See Also

Cells::CreateRange(int32_t, int32_t, int32_t, int32_t) method

Creates a Range object from a range of cells.

Range Aspose::Cells::Cells::CreateRange(int32_t firstRow, int32_t firstColumn, int32_t totalRows, int32_t totalColumns)
ParameterTypeDescription
firstRowint32_tFirst row of this range
firstColumnint32_tFirst column of this range
totalRowsint32_tNumber of rows
totalColumnsint32_tNumber of columns

ReturnValue

A Range object

See Also

Cells::CreateRange(const U16String&) method

Creates a Range object from an address of the range.

Range Aspose::Cells::Cells::CreateRange(const U16String &address)
ParameterTypeDescription
addressconst U16String&The address of the range.

ReturnValue

A Range object

See Also

Cells::CreateRange(const char16_t*) method

Creates a Range object from an address of the range.

Range Aspose::Cells::Cells::CreateRange(const char16_t *address)
ParameterTypeDescription
addressconst char16_t*The address of the range.

ReturnValue

A Range object

See Also

Cells::CreateRange(int32_t, int32_t, bool) method

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

Range Aspose::Cells::Cells::CreateRange(int32_t firstIndex, int32_t number, bool isVertical)
ParameterTypeDescription
firstIndexint32_tFirst row index or first column index, zero based.
numberint32_tTotal number of rows or columns, one based.
isVerticalboolTrue - Range created from columns of cells. False - Range created from rows of cells.

ReturnValue

A Range object.

See Also