ListObjectCollection
Overview
ListObjectCollection is a struct in Aspose.Cells FOSS for Rust.
Represents the collection of Excel tables on a worksheet.
This struct provides 9 methods for working with ListObjectCollection objects in Rust programs.
Available methods include: add, add_a1, count, get, get_by_name, get_count, item, item_by_name, remove_at.
All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package.
Methods
| Signature | Description |
|---|---|
count() → usize | Gets the number of tables on the worksheet. |
get_count() → usize | Gets the number of tables on the worksheet. |
add(start_row: i32, start_column: i32, end_row: i32, end_column: i32, has_headers: bool) → Result<i32, CellsError> | Adds a new table covering the specified zero-based range. |
add_a1(start_cell_name: impl Into<String>, end_cell_name: impl Into<String>, has_headers: bool) → Result<i32, CellsError> | Adds a new table covering the specified A1-notation range. |
get(index: usize) → Option<ListObject<'_>> | Gets the table at the specified zero-based index. |
item(index: usize) → Option<ListObject<'_>> | Gets the table at the specified zero-based index. |
get_by_name(name: &str) → Option<ListObject<'_>> | Gets the table with the specified display name. |
item_by_name(name: &str) → Option<ListObject<'_>> | Gets the table with the specified display name. |
remove_at(index: usize) → Result<(), CellsError> | Removes the table at the specified zero-based index. |