Spread.Sheets Documentation
visitedLinkColor Method
The visited link color.
Gets or sets the color of visited links.
Syntax
var instance = new GC.Spread.Sheets.CellTypes.HyperLink();
var returnValue; // Type: any
returnValue = instance.visitedLinkColor(value);
function visitedLinkColor( 
   value : string
) : any;

Parameters

value
The visited link color.

Return Value

If no value is set, returns the visited link color; otherwise, returns the hyperLink cell type.
Example
This example creates a hyperlink cell.
var cellType = new GC.Spread.Sheets.CellTypes.HyperLink();
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.getCell(1, -1).height(30);
Remarks
The default value is #3399ff.
See Also

Reference

HyperLink class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.