TableCollection
Apžvalga
TableCollection yra Aspose.Cells FOSS klasė Python.
Darbo lapo objektų surinkimas (ws.tables).
Ši klasė suteikia 6 metodus, kaip dirbti su TableCollection objektais Python programose. Galimi metodai apima: Add, AddWithRange, __init__, add, add_with_range, copy. Visi viešieji nariai yra prieinami bet kokiam „Python“ programai po to, kai įdiegėte Aspose.Cells FOSS „ Python“. Nuosavybės nuoma : count.
Nuosavybės
| Vardas | Tipas | Access | Aprašymas |
|---|---|---|---|
count | int | Skaityti → | Grazina skaičių. |
Metodai
| Signature | Aprašymas |
|---|---|
__init__(worksheet) | |
add(start_row: int, start_col: int, end_row: int, end_col: int, has_headers: bool, name: str) → Table | Sukurkite naują lentelę iš 0 bazinių eilutės / kolonų indeksų ir pridėkite ją prie darbalaukio. |
add_with_range(cell_range: str, name: str, has_headers: bool) → Table | Sukurkite naują lentelę iš A1 diapazono juosto, pvz., “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' | Grąžina žemas TableCollection kopijos nurodytam darbalaukui |