Spread.Sheets Documentation
HyperLink class
Represents the hyperlink cell.
Syntax
var instance = new GC.Spread.Sheets.CellTypes.HyperLink();
function HyperLink;
Example
This example creates a new 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);
Inheritance Hierarchy

Object
   GC.Spread.Sheets.CellTypes.Base
      GC.Spread.Sheets.CellTypes.HyperLink

Constructors
 NameDescription
public ConstructorHyperLink ConstructorRepresents the hyperlink cell.  
Top
Fields
 NameDescription
public FieldtypeName (Inherited from GC.Spread.Sheets.CellTypes.Base)
Top
Methods
 NameDescription
public MethodactivateEditor (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodcreateEditorElement (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethoddeactivateEditor (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Methodfocus (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Methodformat (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodfromJSON (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodgetAutoFitHeight (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodgetAutoFitWidth (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodgetEditorValue (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodgetHitInfo (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodisEditingValueChanged (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodisImeAware (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodisReservedKey (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodlinkColorGets or sets the color of the hyperlink.  
public MethodlinkToolTipGets or sets the tooltip for the hyperlink.  
public Methodpaint (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodpaintContent (Inherited from GC.Spread.Sheets.CellTypes.Base)
public Methodparse (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessKeyDown (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessKeyUp (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessMouseDown (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessMouseEnter (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessMouseLeave (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessMouseMove (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodprocessMouseUp (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodselectAll (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodsetEditorValue (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodtargetGets or sets the type for the hyperlink's target.  
public MethodtextGets or sets the text string for the hyperlink.  
public MethodtoJSON (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodupdateEditor (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodupdateEditorContainer (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodupdateImeMode (Inherited from GC.Spread.Sheets.CellTypes.Base)
public MethodvisitedLinkColorGets or sets the color of visited links.  
Top
See Also

Reference

GC.Spread.Sheets.CellTypes Namespace
Setting a Hyperlink Cell

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.