com.aspose.cells
Class ColorScale

java.lang.Object
    extended by com.aspose.cells.ColorScale

public class ColorScale 
extends java.lang.Object

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


Property Getters/Setters Summary
booleangetIs3ColorScale()
voidsetIs3ColorScale(boolean)
           Indicates whether conditional formatting is 3 color scale.
ConditionalFormattingValuegetMaxCfvo()
           Get or set this ColorScale's max value object. Cannot set null or CFValueObject with type FormatConditionValueType.Min to it.
com.aspose.cells.ColorgetMaxColor()
voidsetMaxColor(com.aspose.cells.Color)
           Get or set the gradient color for the maximum value in the range.
ConditionalFormattingValuegetMidCfvo()
           Get or set this ColorScale's mid value object. Cannot set CFValueObject with type FormatConditionValueType.Max or FormatConditionValueType.Min to it.
com.aspose.cells.ColorgetMidColor()
voidsetMidColor(com.aspose.cells.Color)
           Get or set the gradient color for the middle value in the range.
ConditionalFormattingValuegetMinCfvo()
           Get or set this ColorScale's min value object. Cannot set null or CFValueObject with type FormatConditionValueType.Max to it.
com.aspose.cells.ColorgetMinColor()
voidsetMinColor(com.aspose.cells.Color)
           Get or set the gradient color for the minimum value in the range.
 

Property Getters/Setters Detail

getIs3ColorScale/setIs3ColorScale

public boolean getIs3ColorScale() / public void setIs3ColorScale(boolean value)
Indicates whether conditional formatting is 3 color scale.

setIs3ColorScale

public void setIs3ColorScale(boolean value)
Indicates whether conditional formatting is 3 color scale.

getMinCfvo

public ConditionalFormattingValue getMinCfvo()
Get or set this ColorScale's min value object. Cannot set null or CFValueObject with type FormatConditionValueType.Max to it.

getMidCfvo

public ConditionalFormattingValue getMidCfvo()
Get or set this ColorScale's mid value object. Cannot set CFValueObject with type FormatConditionValueType.Max or FormatConditionValueType.Min to it.

getMaxCfvo

public ConditionalFormattingValue getMaxCfvo()
Get or set this ColorScale's max value object. Cannot set null or CFValueObject with type FormatConditionValueType.Min to it.

getMinColor/setMinColor

public com.aspose.cells.Color getMinColor() / public void setMinColor(com.aspose.cells.Color value)
Get or set the gradient color for the minimum value in the range.

setMinColor

public void setMinColor(com.aspose.cells.Color value)
Get or set the gradient color for the minimum value in the range.

getMidColor/setMidColor

public com.aspose.cells.Color getMidColor() / public void setMidColor(com.aspose.cells.Color value)
Get or set the gradient color for the middle value in the range.

setMidColor

public void setMidColor(com.aspose.cells.Color value)
Get or set the gradient color for the middle value in the range.

getMaxColor/setMaxColor

public com.aspose.cells.Color getMaxColor() / public void setMaxColor(com.aspose.cells.Color value)
Get or set the gradient color for the maximum value in the range.

setMaxColor

public void setMaxColor(com.aspose.cells.Color value)
Get or set the gradient color for the maximum value in the range.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.