ExcelScript.ColorScaleConditionalFormat interface
Represents the color scale criteria for conditional formatting.
Methods
get |
The criteria of the color scale. Midpoint is optional when using a two point color scale. |
get |
If |
set |
The criteria of the color scale. Midpoint is optional when using a two point color scale. |
Method Details
getCriteria()
The criteria of the color scale. Midpoint is optional when using a two point color scale.
getCriteria(): ConditionalColorScaleCriteria;
Returns
getThreeColorScale()
If true
, the color scale will have three points (minimum, midpoint, maximum), otherwise it will have two (minimum, maximum).
getThreeColorScale(): boolean;
Returns
boolean
setCriteria(criteria)
The criteria of the color scale. Midpoint is optional when using a two point color scale.
setCriteria(criteria: ConditionalColorScaleCriteria): void;
Parameters
Returns
void
Office Scripts
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for