TdxSpreadSheetCustomConditionalFormattingRule.Clone(TRect) Method
Creates a copy of the conditional formatting rule and applies the created rule to the specified cell range.
Declaration
function Clone(const AArea: TRect): TdxSpreadSheetCustomConditionalFormattingRule; overload;
Parameters
| Name | Type | Description |
|---|---|---|
| AArea | TRect | The target cell range. |
Returns
| Type | Description |
|---|---|
| TdxSpreadSheetCustomConditionalFormattingRule | The created conditional formatting rule whose settings are copied from the current rule. Cast the returned object to the corresponding terminal TdxSpreadSheetCustomConditionalFormattingRule class descendant to access all public API members. Tip You can call the rule’s ClassType function or use other RTTI functionality to identify the actual rule type. |
See Also