var instance = new GC.Spread.Sheets.ConditionalFormatting.ConditionalFormats(worksheet); var value; // Type: object value = instance.addTop10Rule(type, rank, style, ranges);
Parameters
- type
- The top 10 condition.
- rank
- The number of top or bottom items to apply the style to.
- 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 top 10 rule added to the rule collection.