var instance = new GC.Spread.Sheets.ConditionalFormatting.ConditionalFormats(worksheet); var value; // Type: object value = instance.addCellValueRule(comparisionOperator, value1, value2, style, ranges);
function addCellValueRule( comparisionOperator : ComparisonOperators, value1 : object, value2 : object, style : Style, ranges : undefined ) : object;
Parameters
- comparisionOperator
- The comparison operator.
- value1
- The first value.
- value2
- The second value.
- 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 cell value rule added to the rule collection.