CellsColor
Source: aspose.
Represents all types of color.
Methods
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. The value of the property is ColorType integer constant.
isShapeColor()
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.
setArgb()
Gets and sets the color from a 32-bit ARGB value.
setColor()
Gets and sets the RGB color.
setColorIndex()
Gets and sets the color index in the color palette. Only applies of indexed color.
setShapeColor()
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.
setThemeColor()
Gets the theme color. Only applies for theme color type.
setTintOfShapeColor(tint)
Set the tint of the shape color
Parameter
Name | Type | Optional | Description |
---|---|---|---|
tint |
Number |
|
setTransparency()
Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear).