获取 Cells 范围
Contents
[
Hide
]
可能的使用场景
当你只需要操作工作表上的某些数据时,你需要知道整个工作表的数据范围。 Aspose.Cells 提供此功能。 Aspose.Cells 提供以下属性和方法来帮助您实现目标。
- Cells.getMaxDisplayRange()
- Cells.getMaxRow()
- Cells.getMaxDataRow()
- Cells.getMaxColumn()
- Cells.getMaxDataColumn()
使用 Aspose.Cells 获取 Cells 范围
此示例显示如何:
- 创建工作簿。
- 将数据添加到第一个工作表中的单元格。
- 获取 Cells范围.