单元格
概述
Cells 是 Aspose.Cells FOSS for Java 中的一个类。
表示工作表中的单元格集合。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
rows | RowCollection | 读取 | 返回行。 |
columns | ColumnCollection | 读取 | 返回列。 |
mergedCells | java.util.List<CellArea> | 读取 | 返回合并的单元格。 |
方法
| 签名 | 描述 |
|---|---|
get(cellName: String) → Cell | 返回请求的项目。 |
get(row: int, column: int) → Cell | 返回请求的项目。 |
getRows() → RowCollection | 返回行。 |
getColumns() → ColumnCollection | 返回列。 |
getMergedCells() → java.util.List<CellArea> | 返回合并的单元格。 |
merge(firstRow: int, firstColumn: int, totalRows: int, totalColumns: int) | 合并请求的单元格范围。 |