HyperlinkCollection

HyperlinkCollection

概述

HyperlinkCollection 是 Aspose.Cells 为 Rust 提供的 FOSS 中的结构体。

封装为工作表定义的超链接。

此结构体为 Rust 程序中的 HyperlinkCollection 对象声明了 8 个方法。可用的方法包括:add、add_at、clear、count、get、get_count、item、remove_at。在安装 Aspose.Cells 为 Rust 提供的 FOSS 包后,公共成员可供任何 Rust 应用程序访问。

方法

签名描述
count() → usize获取项目的数量。
get_count() → usize获取项目的数量。
add(cell_name: impl Into<String>, total_rows: i32, total_columns: i32, address: impl Into<String>) → Result<usize, CellsError>在指定的 A1 区域上添加超链接,并可选地添加显示文本元数据。
add_at(first_row: i32, first_column: i32, total_rows: i32, total_columns: i32, address: impl Into<String>) → Result<usize, CellsError>添加一个项目。
get(index: usize) → Option<Hyperlink<'_>>获取集合中的项。
item(index: usize) → Option<Hyperlink<'_>>获取集合中的项。
remove_at(index: usize) → Result<(), CellsError>删除一个项目。
clear()从工作表中删除所有超链接。

另请参阅

 中文