asposecells.api
Class CellsColor

Represents all types of color.

Property Getters/Setters Summary
methodgetArgb()
methodsetArgb(value)
           Gets and sets the color from a 32-bit ARGB value.
methodgetColor()
methodsetColor(value)
           Gets and sets the RGB color.
methodgetColorIndex()
methodsetColorIndex(value)
           Gets and sets the color index in the color palette. Only applies of indexed color.
methodisShapeColor()
methodsetShapeColor(value)
           Gets and set the color which should apply to cell or shape.
methodgetThemeColor()
methodsetThemeColor(value)
           Gets the theme color. Only applies for theme color type.
methodgetTransparency()
methodsetTransparency(value)
           Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear).
methodgetType()
           The color type. The value of the property is ColorType integer constant.
 
Method Summary
methodsetTintOfShapeColor(tint)
           Set the tint of the shape color
 

Property Getters/Setters Detail

isShapeColor/setShapeColor : boolean 

boolean isShapeColor() / 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 : int 

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

getThemeColor/setThemeColor : ThemeColor 

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

getColorIndex/setColorIndex : int 

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

getColor/setColor : Color 

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

getArgb/setArgb : int 

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

getTransparency/setTransparency : float 

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

Method Detail

setTintOfShapeColor

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

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