FormatCondition
概述
FormatCondition 是 Aspose.Cells 为 Rust 提供的 FOSS 中的结构体。
表示格式条件。
此结构体为 Rust 程序中的 FormatCondition 对象声明了 56 个方法。可用的方法包括:get_above、get_bar_color、get_bar_length、get_color_scale_count、get_direction、get_duplicate、get_formula、get_formula1、get_formula2、get_icon_set_type、get_max_color、get_mid_color,以及另外 44 个方法。公共成员在安装 Aspose.Cells 为 Rust 提供的 FOSS 包后,可供任何 Rust 应用程序访问。
方法
| 签名 | 描述 |
|---|---|
get_type() → FormatConditionType | 获取类型。 |
set_type(value: FormatConditionType) | 设置类型。 |
get_operator() → OperatorType | 获取运算符。 |
set_operator(value: OperatorType) | 设置运算符。 |
get_formula1() → &str | 获取 formula1。 |
set_formula1(value: impl Into<String>) | 设置 formula1。 |
get_formula2() → &str | 获取 formula2。 |
set_formula2(value: impl Into<String>) | 设置 formula2。 |
get_formula() → &str | 获取公式。 |
set_formula(value: impl Into<String>) | 设置公式。 |
get_time_period() → &str | 获取时间段。 |
set_time_period(value: impl Into<String>) | 设置时间段。 |
get_duplicate() → bool | 获取一个指示是否重复的值。 |
set_duplicate(value: bool) | 设置一个指示是否重复的值。 |
get_top() → bool | 获取一个指示是否为 top 的值。 |
set_top(value: bool) | 设置一个值,指示是否为顶部。 |
get_percent() → bool | 获取一个指示是否为百分比的值。 |
set_percent(value: bool) | 设置一个值,指示是否为百分比。 |
get_rank() → i32 | 获取排名。 |
set_rank(value: i32) → Result<(), CellsError> | 设置排名。 |
get_above() → bool | 获取一个指示是否为 above 的值。 |
set_above(value: bool) | 设置一个值,指示是否在上方。 |
get_standard_deviation() → i32 | 获取标准差。 |
set_standard_deviation(value: i32) → Result<(), CellsError> | 设置标准差。 |
get_color_scale_count() → i32 | 获取颜色刻度计数。 |
set_color_scale_count(value: i32) → Result<(), CellsError> | 设置颜色刻度计数。 |
get_min_color() → &str | 获取最小颜色。 |
set_min_color(value: impl Into<String>) | 设置最小颜色。 |
get_mid_color() → &str | 获取中间颜色。 |
set_mid_color(value: impl Into<String>) | 设置中间颜色。 |
get_max_color() → &str | 获取最大颜色。 |
set_max_color(value: impl Into<String>) | 设置最大颜色。 |
get_bar_color() → &str | 获取条形颜色。 |
set_bar_color(value: impl Into<String>) | 设置条形颜色。 |
get_negative_bar_color() → &str | 获取负条形颜色。 |
set_negative_bar_color(value: impl Into<String>) | 设置负条形颜色。 |
get_show_border() → bool | 获取一个值,指示是否显示边框。 |
set_show_border(value: bool) | 设置一个值,指示是否显示边框。 |
get_direction() → &str | 获取方向。 |
set_direction(value: impl Into<String>) | 设置方向。 |
get_bar_length() → &str | 获取条形长度。 |
set_bar_length(value: impl Into<String>) | 设置条形的长度。 |
get_icon_set_type() → &str | 获取图标集类型。 |
set_icon_set_type(value: impl Into<String>) | 设置图标集类型。 |
get_reverse_icons() → bool | 获取一个值,指示是否反转图标。 |
set_reverse_icons(value: bool) | 设置一个值,指示是否反转图标。 |
get_show_icon_only() → bool | 获取一个值,指示是否仅显示图标。 |
set_show_icon_only(value: bool) | 设置一个值,指示是否仅显示图标。 |
get_priority() → i32 | 获取优先级。 |
set_priority(value: i32) → Result<(), CellsError> | 设置优先级。 |
get_stop_if_true() → bool | 获取一个值,指示是否在为 true 时停止。 |
set_stop_if_true(value: bool) | 设置一个值,指示是否在为 true 时停止。 |
style() → Style | 获取样式。 |
get_style() → Style | 获取样式。 |
set_style(value: Style) | 设置样式。 |
remove() | 删除指定的项目。 |