CellArea
概述
CellArea 是 Aspose.Cells FOSS for Java 中的一个类。
表示具有行和列边界的单元格区域。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
firstRow | int | 读取 | 返回第一行。 |
firstColumn | int | 读取 | 返回第一列。 |
totalRows | int | 读取 | 返回总行数。 |
totalColumns | int | 读取 | 返回总列数。 |
方法
| Signature | Description |
|---|---|
CellArea(firstRow: int, firstColumn: int, totalRows: int, totalColumns: int) | 使用指定的边界创建一个新的 CellArea。 |
getFirstRow() → int | 返回第一行。 |
getFirstColumn() → int | 返回第一列。 |
getTotalRows() → int | 返回总行数。 |
getTotalColumns() → int | 返回总列数。 |
createCellArea(startRow: int, startColumn: int, endRow: int, endColumn: int) → CellArea | 根据起始和结束单元格坐标创建 CellArea。 |
createCellArea(startCellName: String, endCellName: String) → CellArea | 根据起始和结束单元格名称创建 CellArea(例如 “A1”、 “B2”)。 |