GcSpread.Sheets Namespace > HyperLinkCellType class : target Method |
var instance = new GcSpread.Sheets.HyperLinkCellType(); var returnValue; // Type: HyperLinkTargetType returnValue = instance.target(value);
function target( value : HyperLinkTargetType ) : HyperLinkTargetType;
var cellType = new GcSpread.Sheets.HyperLinkCellType(); cellType.linkColor("blue"); cellType.visitedLinkColor("#FFFF00"); cellType.text("ComponentOne"); cellType.linkToolTip("Company Web Site"); cellType.target(GcSpread.Sheets.HyperLinkTargetType.Self); activeSheet.getCell(0, 2).cellType(cellType).value("http://www.componentone.com/");