SpreadsheetGear
Add Method
See Also  Send Feedback
SpreadsheetGear Namespace > IHyperlinks Interface : Add Method

anchor
Specifies the range which the hyperlink will be attached to.
address
Specifies the address of the hyperlink (such as "http://www.spreadsheetgear.com/").
subAddress
Specifies the sub address of the hyperlink (such as "Sheet1!MyDefinedName").
screenTip
Specifies the screen tip to display when the mouse hovers over the range.
textToDisplay
Specifies the text to display for the hyperlink.
Returns a newly created hyperlink with the specified options.

Syntax

Visual Basic (Declaration) 
Function Add( _
   ByVal anchor As IRange, _
   ByVal address As String, _
   ByVal subAddress As String, _
   ByVal screenTip As String, _
   ByVal textToDisplay As String _
) As IHyperlink
C# 
IHyperlink Add( 
   IRange anchor,
   string address,
   string subAddress,
   string screenTip,
   string textToDisplay
)

Parameters

anchor
Specifies the range which the hyperlink will be attached to.
address
Specifies the address of the hyperlink (such as "http://www.spreadsheetgear.com/").
subAddress
Specifies the sub address of the hyperlink (such as "Sheet1!MyDefinedName").
screenTip
Specifies the screen tip to display when the mouse hovers over the range.
textToDisplay
Specifies the text to display for the hyperlink.

Return Value

The newly created hyperlink.

Requirements

Platforms: Windows 2000, Windows XP, Windows Vista, Windows Server 2003 and Windows Server 2008. SpreadsheetGear 2009 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.

See Also

Copyright © 2003-2009 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.