CellArea

Overview

CellArea is a class in Aspose.Cells FOSS for Java.

Represents a cell area with row and column bounds.

Properties

NameTypeAccessDescription
firstRowintReadReturns the first row.
firstColumnintReadReturns the first column.
totalRowsintReadReturns the total rows.
totalColumnsintReadReturns the total columns.

Methods

SignatureDescription
CellArea(firstRow: int, firstColumn: int, totalRows: int, totalColumns: int)Creates a new CellArea with the specified bounds.
getFirstRow()intReturns the first row.
getFirstColumn()intReturns the first column.
getTotalRows()intReturns the total rows.
getTotalColumns()intReturns the total columns.
createCellArea(startRow: int, startColumn: int, endRow: int, endColumn: int)CellAreaCreates a CellArea from start and end cell coordinates.
createCellArea(startCellName: String, endCellName: String)CellAreaCreates a CellArea from start and end cell names (e.g., “A1”, “B2”).