Class CellsColor

Class CellsColor

Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)

Represents all types of color.

public class CellsColor

Inheritance

objectCellsColor

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Properties

Argb

Gets and sets the color from a 32-bit ARGB value.

public int Argb { get; set; }

Property Value

int

Color

Gets and sets the RGB color.

public Color Color { get; set; }

Property Value

Color

ColorIndex

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

public int ColorIndex { get; set; }

Property Value

int

IsShapeColor

Gets and set the color which should apply to cell or shape.

public bool IsShapeColor { get; set; }

Property Value

bool

Remarks

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.

ThemeColor

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

public ThemeColor ThemeColor { get; set; }

Property Value

ThemeColor

Transparency

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

public double Transparency { get; set; }

Property Value

double

Type

The color type.

public ColorType Type { get; }

Property Value

ColorType

Methods

SetTintOfShapeColor(double)

Set the tint of the shape color

public void SetTintOfShapeColor(double tint)

Parameters

tint double