var instance = new GC.Spread.Sheets.ConditionalFormatting.ConditionalFormats(worksheet); var value; // Type: object value = instance.add3ScaleRule(minType, minValue, minColor, midType, midValue, midColor, maxType, maxValue, maxColor, ranges);
function add3ScaleRule( minType : ScaleValueType, minValue : object, minColor : string, midType : ScaleValueType, midValue : object, midColor : string, maxType : ScaleValueType, maxValue : object, maxColor : string, ranges : undefined ) : object;
Parameters
- minType
- The minimum scale type.
- minValue
- The minimum scale value.
- minColor
- The minimum scale color.
- midType
- The midpoint scale type.
- midValue
- The midpoint scale value.
- midColor
- The midpoint scale color.
- maxType
- The maximum scale type.
- maxValue
- The maximum scale value.
- maxColor
- The maximum scale color.
- ranges
- The cell ranges where the rule is applied whose item type is GC.Spread.Sheets.Range.
Return Value
The three scale rule added to the rule collection.