SpreadJS Documentation
linkColor Method
The hyperlink color.
Gets or sets the color of the hyperlink.
Syntax
var instance = new GcSpread.Sheets.HyperLinkCellType();
var returnValue; // Type: string
returnValue = instance.linkColor(value);
function linkColor( 
   value : string
) : string;

Parameters

value
The hyperlink color.

Return Value

The hyperlink color.
Example
This example creates a hyperlink cell.
var cellType = new GcSpread.Sheets.HyperLinkCellType();
cellType.linkColor("blue");
cellType.visitedLinkColor("#FF2235");
cellType.text("GrapeCity");
cellType.linkToolTip("Company Web Site");
activeSheet.getCell(1, 1).cellType(cellType).value("http://spread.grapecity.com/");
activeSheet.getRow(1).height(30);
Remarks
The default value is #0066cc.
See Also

Reference

HyperLinkCellType class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.