SpreadJS Documentation
foreColor Method
The color of the text in the column.
Gets or sets the color of the text in the column, such as "red", "#FFFF00", "rgb(255,0,0)", "Accent 5", and so on.
Syntax
var instance = new GcSpread.Sheets.Column(sheet, index, sheetArea);
var returnValue; // Type: string
returnValue = instance.foreColor(value);
function foreColor( 
   value : string
) : string;

Parameters

value
The color of the text in the column.

Return Value

The color of the text in the column.
Example
This example sets the forecolor.
activeSheet.getColumn(3).foreColor("blue");
Remarks
The default value is black.
See Also

Reference

Column type
Setting Colors

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.