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
TypeNumberThe color type. The value of the property is ColorType integer constant.
ThemeColorThemeColorGets the theme color. Only applies for theme color type.
ColorIndexNumberGets and sets the color index in the color palette. Only applies of indexed color.
ColorColorGets and sets the RGB color.
ArgbNumberGets and sets the color from a 32-bit ARGB value.
TransparencyNumberGets 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: Number

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: Number

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: Number

CellsColor.Transparency property

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

Type: Number

setTintOfShapeColor(tint)

Set the tint of the shape color

ParameterTypeDescription
tintNumber