Aspose::Cells::IColorScale Class Referenceabstract

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

Inherits Object.

Public Member Functions

virtual bool GetIs3ColorScale ()=0
 Indicates whether conditional formatting is 3 color scale. More...
 
virtual void SetIs3ColorScale (bool value)=0
 Indicates whether conditional formatting is 3 color scale. More...
 
virtual intrusive_ptr< Aspose::Cells::IConditionalFormattingValueGetMinICfvo ()=0
 Get this ColorScale's min value object. Cannot set null or CFValueObject with type FormatConditionValueType.Max to it. More...
 
virtual intrusive_ptr< Aspose::Cells::IConditionalFormattingValueGetMidICfvo ()=0
 Get this ColorScale's mid value object. Cannot set CFValueObject with type FormatConditionValueType.Max or FormatConditionValueType.Min to it. More...
 
virtual intrusive_ptr< Aspose::Cells::IConditionalFormattingValueGetMaxICfvo ()=0
 Get this ColorScale's max value object. Cannot set null or CFValueObject with type FormatConditionValueType.Min to it. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > GetMinColor ()=0
 Get the min value object's corresponding color. More...
 
virtual void SetMinColor (intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > value)=0
 Set the min value object's corresponding color. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > GetMidColor ()=0
 Get the mid value object's corresponding color. More...
 
virtual void SetMidColor (intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > value)=0
 Set the mid value object's corresponding color. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > GetMaxColor ()=0
 Get the max value object's corresponding color. More...
 
virtual void SetMaxColor (intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > value)=0
 Set the max value object's corresponding color. More...
 

Detailed Description

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

Member Function Documentation

◆ GetIs3ColorScale()

virtual bool Aspose::Cells::IColorScale::GetIs3ColorScale ( )
pure virtual

Indicates whether conditional formatting is 3 color scale.

◆ GetMaxColor()

virtual intrusive_ptr<Aspose::Cells::Systems::Drawing::Color> Aspose::Cells::IColorScale::GetMaxColor ( )
pure virtual

Get the max value object's corresponding color.

◆ GetMaxICfvo()

virtual intrusive_ptr<Aspose::Cells::IConditionalFormattingValue> Aspose::Cells::IColorScale::GetMaxICfvo ( )
pure virtual

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

◆ GetMidColor()

virtual intrusive_ptr<Aspose::Cells::Systems::Drawing::Color> Aspose::Cells::IColorScale::GetMidColor ( )
pure virtual

Get the mid value object's corresponding color.

◆ GetMidICfvo()

virtual intrusive_ptr<Aspose::Cells::IConditionalFormattingValue> Aspose::Cells::IColorScale::GetMidICfvo ( )
pure virtual

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

◆ GetMinColor()

virtual intrusive_ptr<Aspose::Cells::Systems::Drawing::Color> Aspose::Cells::IColorScale::GetMinColor ( )
pure virtual

Get the min value object's corresponding color.

◆ GetMinICfvo()

virtual intrusive_ptr<Aspose::Cells::IConditionalFormattingValue> Aspose::Cells::IColorScale::GetMinICfvo ( )
pure virtual

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

◆ SetIs3ColorScale()

virtual void Aspose::Cells::IColorScale::SetIs3ColorScale ( bool  value)
pure virtual

Indicates whether conditional formatting is 3 color scale.

◆ SetMaxColor()

virtual void Aspose::Cells::IColorScale::SetMaxColor ( intrusive_ptr< Aspose::Cells::Systems::Drawing::Color >  value)
pure virtual

Set the max value object's corresponding color.

◆ SetMidColor()

virtual void Aspose::Cells::IColorScale::SetMidColor ( intrusive_ptr< Aspose::Cells::Systems::Drawing::Color >  value)
pure virtual

Set the mid value object's corresponding color.

◆ SetMinColor()

virtual void Aspose::Cells::IColorScale::SetMinColor ( intrusive_ptr< Aspose::Cells::Systems::Drawing::Color >  value)
pure virtual

Set the min value object's corresponding color.