Excel.ConditionalColorScaleCriterion interface

表示包含类型、值和颜色的色阶条件。

注解

[ API 集:ExcelApi 1.6 ]

属性

color

色阶颜色 (的 HTML 颜色代码表示形式,例如,#FF0000表示红色) 。

formula

数字、公式或 null ((如果 typelowestValue) )。

type

条件公式应基于什么。

属性详细信息

color

色阶颜色 (的 HTML 颜色代码表示形式,例如,#FF0000表示红色) 。

color?: string;

属性值

string

注解

[ API 集:ExcelApi 1.6 ]

formula

数字、公式或 null ((如果 typelowestValue) )。

formula?: string;

属性值

string

注解

[ API 集:ExcelApi 1.6 ]

type

条件公式应基于什么。

type: Excel.ConditionalFormatColorCriterionType | "Invalid" | "LowestValue" | "HighestValue" | "Number" | "Percent" | "Formula" | "Percentile";

属性值

Excel.ConditionalFormatColorCriterionType | "Invalid" | "LowestValue" | "HighestValue" | "Number" | "Percent" | "Formula" | "Percentile"

注解

[ API 集:ExcelApi 1.6 ]