Creates a new hyperlink cell with the specified destination URL, image, and target.
Syntax
Parameters
- url
- URL to which to navigate when the hyperlink is clicked
- imageUrl
- Path and file name of the picture to display in the cell
- target
- String with hyperlink target window or frame
Example
This example creates a hyperlink cell type with its URL, an image and a target window and assigns it to the first cell of the sheet.
C# | Copy Code |
---|
string Str = "img\\fplogo.jpg";
FarPoint.Web.Spread.HyperLinkCellType hlcell = New FarPoint.Web.Spread.HyperLinkCellType("http://www.fpoint.com", Str,
"_self");
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = hlcell;
FpSpread1.ActiveSheetView.Columns[0].Width = 150;
|
Visual Basic | Copy Code |
---|
Dim Str As String = "img\fplogo.jpg"
Dim hlcell As New FarPoint.Web.Spread.HyperLinkCellType("http://www.fpoint.com", Str, "_self")
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = hlcell
FpSpread1.ActiveSheetView.Columns(0).Width = 150
|
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also