Spread.Sheets Documentation
target Method
GC.Spread.Sheets.CellTypes Namespace > HyperLink class : target Method
The hyperlink's target type.
Gets or sets the type for the hyperlink's target.
Syntax
var instance = new GC.Spread.Sheets.CellTypes.HyperLink();
var returnValue; // Type: any
returnValue = instance.target(value);
function target( 
   value : HyperLinkTargetType
) : any;

Parameters

value
The hyperlink's target type.

Return Value

If no value is set, returns the hyperlink's target type; 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("#FFFF00");
cellType.text("GrapeCity");
cellType.linkToolTip("Company Web Site");
cellType.target(GC.Spread.Sheets.CellTypes.HyperLinkTargetType.self);
activeSheet.getCell(0, 2).cellType(cellType).value("http://spread.grapecity.com/");
See Also

Reference

HyperLink class