TableCollection

TableCollection

概要

TableCollection は Aspose.Cells の FOSS における Python 用のクラスです。

ワークシートに属する Table オブジェクトのコレクション (ws.tables)。

このクラスは Python プログラムで TableCollection オブジェクトを操作するための 6 つのメソッドを提供します。利用可能なメソッドは: Add, AddWithRange, __init__, add, add_with_range, copy。Aspose.Cells の Python 用 FOSS パッケージをインストールした後、すべてのパブリックメンバーは任意の Python アプリケーションからアクセス可能です。プロパティ: count。

プロパティ

名前型アクセス説明
countint読み取りカウントを取得します。

メソッド

シグネチャ説明
__init__(worksheet)
add(start_row: int, start_col: int, end_row: int, end_col: int, has_headers: bool, name: str) → Table0ベースの行/列インデックスから新しいテーブルを作成し、ワークシートに追加します。
add_with_range(cell_range: str, name: str, has_headers: bool) → Table「A1:D10」のようなA1形式の範囲文字列から新しいテーブルを作成します。
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 の浅いコピーを返します。

参照

 日本語