Spread ASP.NET 6.0 Product Documentation
HyperLinkCellType Constructor(String)
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > HyperLinkCellType Class > HyperLinkCellType Constructor : HyperLinkCellType Constructor(String)


url
URL to which to navigate when the hyperlink is clicked

Glossary Item Box

Creates a new hyperlink cell with the specified destination URL.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal url As String _
)
Visual Basic (Usage)Copy Code
Dim url As String
 
Dim instance As New HyperLinkCellType(url)
C# 
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.
C#Copy Code
    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;
Visual BasicCopy Code
    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 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

© 2002-2012 GrapeCity, Inc. All Rights Reserved.