var instance = new GC.Spread.Sheets.ConditionalFormatting.ConditionalFormats(worksheet); var value; // Type: object value = instance.addDateOccurringRule(type, style, ranges);
function addDateOccurringRule( type : DateOccurringType, style : Style, ranges : undefined ) : object;
Parameters
- type
- The data occurring type.
- 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 date occurring rule added to the rule collection.