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

Parameters

value
The text color for the row.

Return Value

The row foreground color.
Example
This example sets the forecolor.
activeSheet.getRow(2).foreColor("green");
Remarks
The default value is black.
See Also

Reference

Row type

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.