'Declaration Public Property Link As String
'Usage Dim instance As HyperLinkCellType Dim value As String instance.Link = value value = instance.Link
public string Link {get; set;}
'Declaration Public Property Link As String
'Usage Dim instance As HyperLinkCellType Dim value As String instance.Link = value value = instance.Link
public string Link {get; set;}
This is the destination URL of the link. Make sure that it is as complete as is needed to launch the correct application.
The destination may be a Web site URL, as in http://sphelp.grapecity.com/, or it may be an email link, as in mailto:spread.support@grapecity.com. Any valid URL should work.
FarPoint.Win.Spread.CellType.HyperLinkCellType hlnkcell = new FarPoint.Win.Spread.CellType.HyperLinkCellType(); hlnkcell.BackgroundImage = new FarPoint.Win.Picture(Image.FromFile("..\\images\\mail16a.ico")); hlnkcell.Link = "http://www.fpoint.com"; hlnkcell.LinkArea = new LinkArea(9,16); hlnkcell.LinkColor = Color.DarkRed; hlnkcell.Text = "Click to See Our Web Site."; hlnkcell.VisitedLinkColor = Color.Gray; fpSpread1.Sheets[0].Cells[7,2].CellType = hlnkcell;
Dim hlnkcell As New FarPoint.Win.Spread.CellType.HyperLinkCellType() hlnkcell.BackgroundImage = new FarPoint.Win.Picture(Image.FromFile("..\images\mail16a.ico")) hlnkcell.Link = "http://www.fpoint.com" hlnkcell.LinkArea = new LinkArea(9,16) hlnkcell.LinkColor = Color.DarkRed hlnkcell.Text = "Click to See Our Web Site." hlnkcell.VisitedLinkColor = Color.Gray fpSpread1.Sheets(0).Cells(7,2).CellType = hlnkcell