HyperlinkCollection
Overview
HyperlinkCollection is a struct in Aspose.Cells FOSS for Rust.
Encapsulates the hyperlinks defined for a worksheet.
This struct provides 8 methods for working with HyperlinkCollection objects in Rust programs.
Available methods include: add, add_at, clear, count, get, get_count, item, 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 items. |
get_count() → usize | Gets the number of items. |
add(cell_name: impl Into<String>, total_rows: i32, total_columns: i32, address: impl Into<String>) → Result<usize, CellsError> | Adds a hyperlink over the specified A1 range and optional display text metadata. |
add_at(first_row: i32, first_column: i32, total_rows: i32, total_columns: i32, address: impl Into<String>) → Result<usize, CellsError> | Adds an item. |
get(index: usize) → Option<Hyperlink<'_>> | Gets the item from the collection. |
item(index: usize) → Option<Hyperlink<'_>> | Gets the item from the collection. |
remove_at(index: usize) → Result<(), CellsError> | Removes an item. |
clear() | Removes all hyperlinks from the worksheet. |