ApiColorScaleCriterion
表示 ApiColorScaleCriterion 类。
属性
| 名称 | 类型 | 描述 |
|---|---|---|
| Color | ApiColor | 返回或设置色阶条件的格式颜色。 |
| Index | number | 返回指示条件代表哪个阈值的索引。 |
| Type | XlConditionValueTypes | 返回或设置色阶条件的类型。 |
| Value | string | 返回或设置色阶条件的值。 |
方法
| 方法 | 返回值 | 描述 |
|---|---|---|
| GetColor | ApiColor | null | 返回色阶条件的格式颜色。 |
| GetIndex | number | 返回指示条件代表哪个阈值的索引。 |
| GetType | XlConditionValueTypes | null | 返回色阶条件的类型。 |
| GetValue | string | null | 返回色阶条件的值。 |
| SetColor | 无 | 设置色阶条件的格式颜色。 |
| SetType | 无 | 设置色阶条件的类型。 |
| SetValue | 无 | 设置色阶条件的值。 |