Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IHyperlinks Interface / Add Method / Add(String,String,String,String,String) Method
The range for the hyperlink
The address of the hyperlink.
The subaddress of the hyperlink.
The screen tip to be displayed when the mouse pointer is paused over the hyperlink.
The text to be displayed for the hyperlink.


In This Topic
Add(String,String,String,String,String) Method
In This Topic
Adds a hyperlink to the specified range.
Syntax
'Declaration
 
Overloads Function Add( _
   ByVal range As String, _
   ByVal address As String, _
   Optional ByVal subAddress As String, _
   Optional ByVal screenTip As String, _
   Optional ByVal display As String _
) As IHyperlink
 
'Usage
 
Dim instance As IHyperlinks
Dim range As String
Dim address As String
Dim subAddress As String
Dim screenTip As String
Dim display As String
Dim value As IHyperlink
 
value = instance.Add(range, address, subAddress, screenTip, display)

Parameters

range
The range for the hyperlink
address
The address of the hyperlink.
subAddress
The subaddress of the hyperlink.
screenTip
The screen tip to be displayed when the mouse pointer is paused over the hyperlink.
display
The text to be displayed for the hyperlink.

Return Value

A IHyperlink object that represents the new hyperlink.
See Also