Aspose::Cells::ICellsColor Class Referenceabstract

Represents all types of color. More...

Inherits Object.

Public Member Functions

virtual bool IsShapeColor ()=0
 Gets the color which should apply to cell or shape. More...
 
virtual void SetShapeColor (bool value)=0
 Set the color which should apply to cell or shape. More...
 
virtual Aspose::Cells::ColorType GetType ()=0
 The color type. More...
 
virtual intrusive_ptr< Aspose::Cells::IThemeColorGetIThemeColor ()=0
 Gets the theme color. Only applies for theme color type. More...
 
virtual void SetIThemeColor (intrusive_ptr< Aspose::Cells::IThemeColor > value)=0
 Gets the theme color. Only applies for theme color type. More...
 
virtual Aspose::Cells::Systems::Int32 GetColorIndex ()=0
 Gets the color index in the color palette. Only applies of indexed color. More...
 
virtual void SetColorIndex (Aspose::Cells::Systems::Int32 value)=0
 Sets the color index in the color palette. Only applies of indexed color. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > GetColor ()=0
 Gets the RGB color. More...
 
virtual void SetColor (intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > value)=0
 Sets the RGB color. More...
 
virtual Aspose::Cells::Systems::Int32 GetArgb ()=0
 Gets the color from a 32-bit ARGB value. More...
 
virtual void SetArgb (Aspose::Cells::Systems::Int32 value)=0
 Sets the color from a 32-bit ARGB value. More...
 
virtual Aspose::Cells::Systems::Double GetTransparency ()=0
 Gets transparency as a value from 0.0 (opaque) through 1.0 (clear). More...
 
virtual void SetTransparency (Aspose::Cells::Systems::Double value)=0
 Sets transparency as a value from 0.0 (opaque) through 1.0 (clear). More...
 
virtual void SetTintOfShapeColor (Aspose::Cells::Systems::Double tint)=0
 Set the tint of the shape color More...
 

Detailed Description

Represents all types of color.

Member Function Documentation

◆ GetArgb()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::ICellsColor::GetArgb ( )
pure virtual

Gets the color from a 32-bit ARGB value.

◆ GetColor()

virtual intrusive_ptr<Aspose::Cells::Systems::Drawing::Color> Aspose::Cells::ICellsColor::GetColor ( )
pure virtual

Gets the RGB color.

◆ GetColorIndex()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::ICellsColor::GetColorIndex ( )
pure virtual

Gets the color index in the color palette. Only applies of indexed color.

◆ GetIThemeColor()

virtual intrusive_ptr<Aspose::Cells::IThemeColor> Aspose::Cells::ICellsColor::GetIThemeColor ( )
pure virtual

Gets the theme color. Only applies for theme color type.

◆ GetTransparency()

virtual Aspose::Cells::Systems::Double Aspose::Cells::ICellsColor::GetTransparency ( )
pure virtual

Gets transparency as a value from 0.0 (opaque) through 1.0 (clear).

◆ GetType()

virtual Aspose::Cells::ColorType Aspose::Cells::ICellsColor::GetType ( )
pure virtual

The color type.

◆ IsShapeColor()

virtual bool Aspose::Cells::ICellsColor::IsShapeColor ( )
pure virtual

Gets the color which should apply to cell or shape.

The expression of the color of the cell and the shape is different. For example, the theme color with same tint value will be not same in the cell and the shape.

◆ SetArgb()

virtual void Aspose::Cells::ICellsColor::SetArgb ( Aspose::Cells::Systems::Int32  value)
pure virtual

Sets the color from a 32-bit ARGB value.

◆ SetColor()

virtual void Aspose::Cells::ICellsColor::SetColor ( intrusive_ptr< Aspose::Cells::Systems::Drawing::Color >  value)
pure virtual

Sets the RGB color.

◆ SetColorIndex()

virtual void Aspose::Cells::ICellsColor::SetColorIndex ( Aspose::Cells::Systems::Int32  value)
pure virtual

Sets the color index in the color palette. Only applies of indexed color.

◆ SetIThemeColor()

virtual void Aspose::Cells::ICellsColor::SetIThemeColor ( intrusive_ptr< Aspose::Cells::IThemeColor value)
pure virtual

Gets the theme color. Only applies for theme color type.

◆ SetShapeColor()

virtual void Aspose::Cells::ICellsColor::SetShapeColor ( bool  value)
pure virtual

Set the color which should apply to cell or shape.

The expression of the color of the cell and the shape is different. For example, the theme color with same tint value will be not same in the cell and the shape.

◆ SetTintOfShapeColor()

virtual void Aspose::Cells::ICellsColor::SetTintOfShapeColor ( Aspose::Cells::Systems::Double  tint)
pure virtual

Set the tint of the shape color

Parameters
tint

◆ SetTransparency()

virtual void Aspose::Cells::ICellsColor::SetTransparency ( Aspose::Cells::Systems::Double  value)
pure virtual

Sets transparency as a value from 0.0 (opaque) through 1.0 (clear).