var instance = new GC.Spread.Sheets.ConditionalFormatting.ConditionalFormats(worksheet); var value; // Type: object value = instance.addDuplicateRule(style, ranges);
Parameters
- style
- The style that is applied to the cell when the condition is met.
- ranges
- The cell ranges where the rule is applied whose item type is GC.Spread.Sheets.Range.
Return Value
The duplicate rule added to the rule collection.