Excel.Interfaces.ColorScaleConditionalFormatData interface

描述通过调用 "colorScaleConditionalFormat ()" 返回的数据的接口。An interface describing the data returned by calling "colorScaleConditionalFormat.toJSON()".

属性

criteria

色阶的条件。The criteria of the color scale. 使用两个点的色阶时, 中点是可选的。Midpoint is optional when using a two point color scale.

[API 集: ExcelApi 1.6][ API set: ExcelApi 1.6 ]

threeColorScale

如果为 true, 则色阶将具有三个点 (最小值、中点和最大值), 否则它将有两个 (最小值, 最大值)。If true the color scale will have three points (minimum, midpoint, maximum), otherwise it will have two (minimum, maximum).

[API 集: ExcelApi 1.6][ API set: ExcelApi 1.6 ]

属性详细信息

criteria

色阶的条件。The criteria of the color scale. 使用两个点的色阶时, 中点是可选的。Midpoint is optional when using a two point color scale.

[API 集: ExcelApi 1.6][ API set: ExcelApi 1.6 ]

criteria?: Excel.ConditionalColorScaleCriteria;

属性值

threeColorScale

如果为 true, 则色阶将具有三个点 (最小值、中点和最大值), 否则它将有两个 (最小值, 最大值)。If true the color scale will have three points (minimum, midpoint, maximum), otherwise it will have two (minimum, maximum).

[API 集: ExcelApi 1.6][ API set: ExcelApi 1.6 ]

threeColorScale?: boolean;

属性值

boolean