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
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Returns the number of Table objects contained in the collection |
Mètodes
| Signature | Description |
|---|---|
__init__(worksheet) | |
add(start_row: int, start_col: int, end_row: int, end_col: int, has_headers: bool, name: str) → Table | Create 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) → Table | Create 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) → Table | Is an alias of add that creates a Table from zero‑based indices and adds it |
AddWithRange(cell_range: str, name: str, has_headers: bool) → Table | Is 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 |