TableCollection
Vue de l’ensemble
‘TableCollection’ est une classe dans Aspose.Cells FOSS pour Python.
Collecte d’objets de table appartenant à un feuille de travail (ws.tables).
Cette classe fournit 6 méthodes pour travailler avec des objets TableCollection dans les programmes Python. Les méthodologies disponibles comprennent: Add, AdWithRange , __init__ ; add; ad_with_range‘ ; 'copy. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de l’Aspoe.Cells FOSS pour le package Pyathon. Propriétés : `conto’.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the count. |
méthodes
| 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 | |
AddWithRange(cell_range: str, name: str, has_headers: bool) → Table | |
copy(new_ws) → 'TableCollection' | Returns a shallow copy of the TableCollection for the specified worksheet |
Voir aussi
- Aspose.Cells pour Python — Enterprise API Reference