Worksheets
概述
Worksheets 是 Aspose.Cells Rust 开源软件(FOSS)中的结构体。
封装工作簿的工作表及活动工作表状态。
此结构体为 Rust 程序中的 Worksheets 对象声明了12个方法。可用的方法包括:active_sheet_index、active_sheet_name、count、get、get_active_sheet_index、get_active_sheet_name、get_by_name、get_count、is_empty、item、item_by_name、len。在安装 Aspose.Cells Rust 开源软件(FOSS)包后,公共成员对任何 Rust 应用程序均可访问。
方法
| 签名 | 描述 |
|---|---|
count() → usize | 获取项目的数量。 |
get_count() → usize | 获取项目的数量。 |
get(index: usize) → Result<&Worksheet, CellsError> | 获取集合中的项。 |
item(index: usize) → Result<&Worksheet, CellsError> | 获取集合中的项。 |
get_by_name(name: &str) → Result<&Worksheet, CellsError> | 获取关联的值。 |
item_by_name(name: &str) → Result<&Worksheet, CellsError> | 获取集合中的项。 |
active_sheet_index() → usize | 获取活动工作表的零基索引。 |
get_active_sheet_index() → usize | 获取活动工作表的零基索引。 |
active_sheet_name() → String | 获取活动工作表的名称。 |
get_active_sheet_name() → String | 获取活动工作表的名称。 |
len() → usize | 获取集合中的项数。 |
is_empty() → bool | 返回集合是否为空。 |