ColumnMut
概述
ColumnMut 是 Aspose.Cells 为 Rust 提供的 FOSS 中的结构体。
表示列。
此结构体在 Rust 程序中为 ColumnMut 对象声明了 12 个方法。可用的方法包括:clear_width、get_index、get_is_hidden、get_width、hide、index、is_hidden、properties、set_is_hidden、set_width、show、width。在安装了 Aspose.Cells 为 Rust 提供的 FOSS 包后,公共成员对任何 Rust 应用程序均可访问。
方法
| 签名 | 描述 |
|---|---|
index() → u32 | 获取关联的值。 |
get_index() → u32 | 获取关联的值。 |
properties() → Option<ColumnProperties> | 获取此列的已存储列属性(如果存在)。 |
width() → Option<f64> | 获取宽度。 |
get_width() → Option<f64> | 获取宽度。 |
is_hidden() → bool | 获取一个指示是否隐藏的值。 |
get_is_hidden() → bool | 获取一个指示是否隐藏的值。 |
set_width(width: f64) → Result<(), CellsError> | 设置宽度。 |
clear_width() → Result<(), CellsError> | 清除宽度。 |
set_is_hidden(value: bool) → Result<(), CellsError> | 设置一个值,指示是否隐藏。 |
hide() → Result<(), CellsError> | 隐藏此项目。 |
show() → Result<(), CellsError> | 显示此项目。 |