GemBox.Spreadsheet

CellRange.GetSubrangeAbsolute Method 

Returns new cell range using absolute indexing.

public CellRange GetSubrangeAbsolute(
   int firstRow,
   int firstColumn,
   int lastRow,
   int lastColumn
);

Parameters

firstRow
Absolute index of the first row.
firstColumn
Absolute index of the first column.
lastRow
Absolute index of the last row.
lastColumn
Absolute index of the last column.

Remarks

New cell range must be within this cell range.

Exceptions

Exception Type Condition
ArgumentOutOfRangeException Thrown if arguments are out of range.

See Also

CellRange Class | GemBox.Spreadsheet Namespace | FirstRowIndex | FirstColumnIndex | LastRowIndex | LastColumnIndex | GetSubrangeRelative | GetSubrange