See Also

IHyperlinks Interface  | IHyperlinks Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

C++

C++/CLI

Show All

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.
See Also Languages SpreadsheetGear The Performance Spreadsheet Component Company 

Add Method

SpreadsheetGear Namespace > IHyperlinks Interface : Add Method (IHyperlinks)

Returns a newly created hyperlink with the specified options.

[Visual Basic]
Overridable 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#]
virtual IHyperlink Add(    IRange anchor,    string address,    string subAddress,    string screenTip,    string textToDisplay );
[C++]
virtual IHyperlink* Add(    IRange* anchor,    string* address,    string* subAddress,    string* screenTip,    string* textToDisplay )
[C++/CLI]
virtual 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 Type

The newly created hyperlink.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IHyperlinks Interface  | IHyperlinks Members

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.