CellsColor

CellsColor class

Represents all types of color.

Properties

NameTypeDescription
IsShapeColorbooleanGets and set the color which should apply to cell or shape. The expression of the color of the cell and the shape is dif
TypeintThe color type. The value of the property is ColorType integer constant.
ThemeColorThemeColorGets the theme color. Only applies for theme color type.
ColorIndexintGets and sets the color index in the color palette. Only applies of indexed color.
ColorColorGets and sets the RGB color.
ArgbintGets and sets the color from a 32-bit ARGB value.
TransparencyfloatGets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear).

Methods

NameDescription
setTintOfShapeColorSet the tint of the shape color

CellsColor.IsShapeColor property

Gets and 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.

Type: boolean

CellsColor.Type property

The color type. The value of the property is ColorType integer constant.

Type: int

CellsColor.ThemeColor property

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

Type: ThemeColor

CellsColor.ColorIndex property

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

Type: int

CellsColor.Color property

Gets and sets the RGB color.

Type: Color

CellsColor.Argb property

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

Type: int

CellsColor.Transparency property

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

Type: float

setTintOfShapeColor(tint)

Set the tint of the shape color

ParameterTypeDescription
tintfloat