CellArea

Overview

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

Represents a cell area with row and column bounds.

This class provides 8 methods for working with CellArea objects in Java programs. Available methods include: CellArea, createCellArea, equals, getFirstColumn, getFirstRow, getTotalColumns, getTotalRows, hashCode. All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package. Properties: firstColumn, firstRow, totalColumns, totalRows.

Description

CellArea is a class in the Aspose.Cells FOSS library for Java that exposes 8 methods and 4 properties for programmatic use.

The class also provides the firstRow property (returns the first row), the firstColumn property (returns the first column), the totalRows property (returns the total rows).

Instances are created through a single constructor that initializes the object with default values.

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.
equals(obj: Object)boolean
hashCode()int
createCellArea(startCellName: String, endCellName: String)CellAreaCreates a CellArea from start and end cell names (e.g., “A1”, “B2”).

See Also

 English