DefinedName
概述
DefinedName 是 Aspose.Cells FOSS for Rust 中的结构体。
表示已定义的名称。
此结构体为 Rust 程序中的 DefinedName 对象声明了10个方法。可用的方法包括:get_comment、get_formula、get_local_sheet_index、get_name、is_hidden、set_comment、set_formula、set_hidden、set_local_sheet_index、set_name。在安装 Aspose.Cells FOSS for Rust 包后,公共成员对任何 Rust 应用程序均可访问。
方法
| 签名 | 描述 |
|---|---|
get_name() → &str | 获取名称。 |
set_name(value: impl Into<String>) → Result<(), CellsError> | 设置名称。 |
get_formula() → &str | 获取公式。 |
set_formula(value: impl Into<String>) → Result<(), CellsError> | 设置公式。 |
get_local_sheet_index() → Option<usize> | 获取本地工作表索引。 |
set_local_sheet_index(value: Option<usize>) → Result<(), CellsError> | 设置本地工作表索引。 |
is_hidden() → bool | 返回是否隐藏。 |
set_hidden(value: bool) | 设置一个指示是否隐藏的值。 |
get_comment() → &str | 获取注释。 |
set_comment(value: impl Into<String>) | 设置注释。 |