TdxSpreadSheetConditionalFormatting.Add(string,TdxSpreadSheetCustomConditionalFormattingRuleClass,Untyped) Method
Creates a new rule and adds it to the conditional formatting controller.
Declaration
procedure Add(const AArea: string; ARuleClass: TdxSpreadSheetCustomConditionalFormattingRuleClass; out ARule); overload;
Parameters
Name | Type |
---|---|
AArea | string |
ARuleClass | TdxSpreadSheetCustomConditionalFormattingRuleClass |
ARule |
Remarks
Call this procedure and pass a reference to the target conditional formatting rule class as the ARuleClass parameter to create a new rule like inherited Add
procedures do. Unlike them, this Add procedure variant accepts a reference (as a string in the A1 format) to the rule’s target area instead of a rect (as the AArea parameter).
See Also