asposecells.api

Class ColorScale

Describe the ColorScale conditional formatting rule. This conditional formatting rule creates a gradated color scale on the cells.

Property Getters/Setters Summary
methodgetIs3ColorScale()
method
           Indicates whether conditional formatting is 3 color scale.
methodgetMaxCfvo()
Get or set this ColorScale's max value object. Cannot set null or CFValueObject with type FormatConditionValueType.Min to it.
methodgetMaxColor()
method
           Get or set the gradient color for the maximum value in the range.
methodgetMidCfvo()
Get or set this ColorScale's mid value object. Cannot set CFValueObject with type FormatConditionValueType.Max or FormatConditionValueType.Min to it.
methodgetMidColor()
method
           Get or set the gradient color for the middle value in the range.
methodgetMinCfvo()
Get or set this ColorScale's min value object. Cannot set null or CFValueObject with type FormatConditionValueType.Max to it.
methodgetMinColor()
method
           Get or set the gradient color for the minimum value in the range.
 

    • Property Getters/Setters Detail

      • getIs3ColorScale/setIs3ColorScale : boolean 

        boolean getIs3ColorScale() / setIs3ColorScale(value)
        
        Indicates whether conditional formatting is 3 color scale.
      • getMinColor/setMinColor : Color 

        Color getMinColor() / setMinColor(value)
        
        Get or set the gradient color for the minimum value in the range.
      • getMidColor/setMidColor : Color 

        Color getMidColor() / setMidColor(value)
        
        Get or set the gradient color for the middle value in the range.
      • getMaxColor/setMaxColor : Color 

        Color getMaxColor() / setMaxColor(value)
        
        Get or set the gradient color for the maximum value in the range.