Aspose::Cells::CellsColor class

CellsColor class

Represents all types of color.

class CellsColor

Methods

MethodDescription
CellsColor(CellsColor_Impl* impl)Constructs from an implementation object.
CellsColor(const CellsColor& src)Copy constructor.
GetArgb()Gets and sets the color from a 32-bit ARGB value.
GetColor()Gets and sets the RGB color.
GetColorIndex()Gets and sets the color index in the color palette. Only applies of indexed color.
GetThemeColor()Gets the theme color. Only applies for theme color type.
GetTransparency()Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear).
GetType()The color type.
IsNull() constChecks whether the implementation object is nullptr.
IsShapeColor()Gets and set the color which should apply to cell or shape.
explicit operator bool() constoperator bool()
operator=(const CellsColor& src)operator=
SetArgb(int32_t value)Gets and sets the color from a 32-bit ARGB value.
SetColor(const Aspose::Cells::Color& value)Gets and sets the RGB color.
SetColorIndex(int32_t value)Gets and sets the color index in the color palette. Only applies of indexed color.
SetIsShapeColor(bool value)Gets and set the color which should apply to cell or shape.
SetThemeColor(const ThemeColor& value)Gets the theme color. Only applies for theme color type.
SetTintOfShapeColor(double tint)Set the tint of the shape color.
SetTransparency(double value)Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear).
~CellsColor()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also