var instance = new GC.Spread.Sheets.ConditionalFormatting.NormalConditionRule(ruleType, ranges, style, operator, value1, value2, text, formula, type, rank); var value; // Type: any value = instance.formula(formulaOrBaseRow, baseColumn);
function formula( formulaOrBaseRow : undefined, baseColumn : number ) : any;
Parameters
- formulaOrBaseRow
- The condition formula or the base row.
- baseColumn
- The base column.
Return Value
If no value is set or baseRow and baseColumn is set, returns the condition formula; otherwise, returns the number condition rule.