TableCollection

General

TableCollection és una classe en Aspose.Cells per a Python.

Col·lecció d’objectes de taula que pertanyen a una fitxa (ws.tables).

Propietats

NameTypeAccessDescription
countintReadReturns the number of Table objects contained in the collection

Mètodes

SignatureDescription
__init__(worksheet)
add(start_row: int, start_col: int, end_row: int, end_col: int, has_headers: bool, name: str)TableCreate a new table from 0-based row/column indices and add it to the worksheet.
add_with_range(cell_range: str, name: str, has_headers: bool)TableCreate a new table from an A1 range string like ‘A1:D10’.
Add(start_row: int, start_col: int, end_row: int, end_col: int, has_headers: bool, name: str)TableIs an alias of add that creates a Table from zero‑based indices and adds it
AddWithRange(cell_range: str, name: str, has_headers: bool)TableIs an alias of add_with_range that creates a Table from an A1 range string
copy(new_ws)'TableCollection'Returns a shallow copy of the TableCollection for the specified worksheet
 Català