TableCollection

TableCollection

Overview

TableCollection 是Python的Aspose.Cells FOSS中的一个类.

属于工作表 (ws.tables) 的表对象集合.

这个类提供了6种方法,用于在Python程序中使用TableCollection 对象. 有的方法包括: Add, AddWithRange, __init__, add, add_with_range, copy. 在安装Python包的Aspose.Cells FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: count.

Properties

NameTypeAccessDescription
countintRead得到了数.

Methods

SignatureDescription
__init__(worksheet)
add(start_row: int, start_col: int, end_row: int, end_col: int, has_headers: bool, name: str)Table从0的行/列索引创建一个新的表,并将其添加到工作表中.
add_with_range(cell_range: str, name: str, has_headers: bool)Table创建一个新的表从A1范围字符串,如’A1:D10'.
Add(start_row: int, start_col: int, end_row: int, end_col: int, has_headers: bool, name: str)Table
AddWithRange(cell_range: str, name: str, has_headers: bool)Table
copy(new_ws)'TableCollection'返回指定工作表的 TableCollection 的浅副本.

See Also

 中文