ApiFormatConditions
表示 ApiFormatConditions 类。
属性
| 名称 | 类型 | 描述 |
|---|---|---|
| Count | number | 返回集合中条件格式规则的数量。 |
| Parent | ApiRange | 返回与当前条件格式集合关联的父区域对象。 |
方法
| 方法 | 返回值 | 描述 |
|---|---|---|
| Add | ApiFormatCondition | null | 向集合添加新的格式条件。 |
| AddAboveAverage | ApiAboveAverage | null | 向集合添加新的高于平均值条件格式规则。 |
| AddColorScale | ApiColorScale | null | 向集合添加新的色阶条件格式规则。 |
| AddDatabar | ApiDatabar | null | 向集合添加新的数据条条件格式规则。 |
| AddIconSetCondition | ApiIconSetCondition | null | 向集合添加新的图标集条件格式规则。 |
| AddTop10 | ApiTop10 | null | 向集合添加新的前 10 项条件格式规则。 |
| AddUniqueValues | ApiUniqueValues | null | 向集合添加新的唯一值条件格式规则。 |
| Delete | 无 | 从集合中删除所有格式条件。 |
| GetCount | number | 返回集合中条件格式规则的数量。 |
| GetItem | ApiFormatCondition | null | 按索引返回格式条件。 |
| GetParent | ApiRange | 返回与当前条件格式集合关联的父区域对象。 |