Spread for ASP.NET 10 Product Documentation
HyperLinkCellType Constructor(String)
Example 


URL to which to navigate when the hyperlink is clicked
Creates a new hyperlink cell with the specified destination URL.
Syntax
'Declaration
 
Public Function New( _
   ByVal url As String _
)
'Usage
 
Dim url As String
 
Dim instance As New HyperLinkCellType(url)
public HyperLinkCellType( 
   string url
)

Parameters

url
URL to which to navigate when the hyperlink is clicked
Example
This example creates a hyperlink cell type object with its URL and assigns it to the first cell of the sheet.
FarPoint.Web.Spread.HyperLinkCellType hlcell = new FarPoint.Web.Spread.HyperLinkCellType("http://www.fpoint.com");
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = hlcell;
FpSpread1.ActiveSheetView.Columns[0].Width = 150;
Dim hlcell As New FarPoint.Web.Spread.HyperLinkCellType("http://www.fpoint.com")
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = hlcell
FpSpread1.ActiveSheetView.Columns(0).Width = 150
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

HyperLinkCellType Class
HyperLinkCellType Members
Overload List
NavigateUrl Property

 

 


Copyright © GrapeCity, inc. All rights reserved.