aspose.cells
Class CellsColor

Represents all types of color.

Property Getters/Setters Summary
functiongetArgb()
functionsetArgb(value)
           Gets and sets the color from a 32-bit ARGB value.
functiongetColor()
functionsetColor(value)
           Gets and sets the RGB color.
functiongetColorIndex()
functionsetColorIndex(value)
           Gets and sets the color index in the color palette. Only applies of indexed color.
functionisShapeColor()
functionsetShapeColor(value)
           Gets and set the color which should apply to cell or shape.
functiongetThemeColor()
functionsetThemeColor(value)
           Gets the theme color. Only applies for theme color type.
functiongetTransparency()
functionsetTransparency(value)
           Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear).
functiongetType()
           The color type. The value of the property is ColorType integer constant.
 
Method Summary
functionsetTintOfShapeColor(tint)
           Set the tint of the shape color
 

Property Getters/Setters Detail

isShapeColor/setShapeColor : boolean 

function isShapeColor() / function setShapeColor(value)
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.

getType : Number 

function getType()
The color type. The value of the property is ColorType integer constant.

getThemeColor/setThemeColor : ThemeColor 

function getThemeColor() / function setThemeColor(value)
Gets the theme color. Only applies for theme color type.

getColorIndex/setColorIndex : Number 

function getColorIndex() / function setColorIndex(value)
Gets and sets the color index in the color palette. Only applies of indexed color.

getColor/setColor : Color 

function getColor() / function setColor(value)
Gets and sets the RGB color.

getArgb/setArgb : Number 

function getArgb() / function setArgb(value)
Gets and sets the color from a 32-bit ARGB value.

getTransparency/setTransparency : Number 

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

Method Detail

setTintOfShapeColor

function setTintOfShapeColor(tint)
Set the tint of the shape color
Parameters:
tint: Number -

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.