TdxSpreadSheetConditionalFormattingRuleColorScaleStop Class
A gradient stop used by the color scale-based conditional formatting rules.
Declaration
TdxSpreadSheetConditionalFormattingRuleColorScaleStop = class(
TdxSpreadSheetConditionalFormattingRuleCustomScaleStop
)
Remarks
This class implements the connection between a key gradient point and a threshold value that the conditional formatting controller compares to numeric values of the cells affected by a color gradient scale-based conditional formatting rule. A gradient used to paint cell backgrounds is based on at least two different gradient stops.
The TdxSpreadSheetConditionalFormattingRuleColorScaleStop
class has public API members that allow you to do the following:
Specify the gradient point’s color (Color).
Determine the threshold numeric value corresponding to the gradient key point (Value and ValueType).
Identify the key point’s predefined position within the calculated gradient (Index).
Obtain the actual numeric value used in color scale-based conditional formatting rule evaluation (ActualValue).
Optimize the application performance when applying multiple changes to the gradient stop (BeginUpdate and EndUpdate).
Direct TdxSpreadSheetConditionalFormattingRuleColorScaleStop Class References
The following properties reference a TdxSpreadSheetConditionalFormattingRuleColorScaleStop
object:
The Two Color Scale conditional formatting rule’s MinValue and MaxValue properties.
The Three Color Scale conditional formatting rule’s MinValue, MiddleValue, and MaxValue properties.