Gets or sets the hyperlinks.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Links As String() |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As HyperLinkCellType
Dim value() As String
instance.Links = value
value = instance.Links |
Property Value
String array containing the strings containing the destination links
Remarks
Example
This example creates a hyperlink cell with multiple hyperlinks.
C# | Copy Code |
---|
FarPoint.Win.Spread.CellType.HyperLinkCellType mhp = new FarPoint.Win.Spread.CellType.HyperLinkCellType();
mhp.Text = "Visit our main site or our tech support site.";
string[] s = new string[]{"www.fpoint.com", "www.clubfarpoint.com"};
mhp.Links = s;
LinkArea[] la = new LinkArea[]{new LinkArea(10, 9), new LinkArea(27, 17)};
mhp.LinkAreas = la;
fpSpread1.ActiveSheet.Columns[1].Width = 220;
fpSpread1.ActiveSheet.Cells[0, 0].CellType = mhp; |
Visual Basic | Copy Code |
---|
Dim mhp As New FarPoint.Win.Spread.CellType.HyperLinkCellType
mhp.Text = "Visit our main site or our tech support site."
Dim s() As String = New String() {"www.fpoint.com", "www.clubfarpoint.com"}
mhp.Links = s
Dim la() As LinkArea = New LinkArea() {New LinkArea(10, 9), New LinkArea(27, 17)}
mhp.LinkAreas = la
FpSpread1.ActiveSheet.Columns(1).Width = 220
FpSpread1.ActiveSheet.Cells(0, 0).CellType = mhp |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also