var instance = new GC.Spread.Sheets.ConditionalFormatting.ConditionalFormats(worksheet); var value; // Type: object value = instance.addSpecificTextRule(comparisonOperator, text, style, ranges);
function addSpecificTextRule( comparisonOperator : TextComparisonOperators, text : string, style : Style, ranges : undefined ) : object;
Parameters
- comparisonOperator
- The comparison operator.
- text
- The text for comparison.
- style
- The style that is applied to the cell when the condition is met.
- ranges
- The cell ranges where the rule is applied to items whose item type is GC.Spread.Sheets.Range.
Return Value
The text rule added to the rule collection.