'Declaration
Function Add( _ ByVal anchor As IRange, _ ByVal address As System.String, _ ByVal subAddress As System.String, _ ByVal screenTip As System.String, _ ByVal textToDisplay As System.String _ ) As IHyperlink
'Usage
Dim instance As IHyperlinks Dim anchor As IRange Dim address As System.String Dim subAddress As System.String Dim screenTip As System.String Dim textToDisplay As System.String Dim value As IHyperlink value = instance.Add(anchor, address, subAddress, screenTip, textToDisplay)
IHyperlink Add( IRange anchor, System.string address, System.string subAddress, System.string screenTip, System.string textToDisplay )
function Add( anchor: IRange; address: System.String; subAddress: System.String; screenTip: System.String; textToDisplay: System.String ): IHyperlink;
function Add( anchor : IRange, address : System.String, subAddress : System.String, screenTip : System.String, textToDisplay : System.String ) : IHyperlink;
IHyperlink* Add( IRange* anchor, System.string* address, System.string* subAddress, System.string* screenTip, System.string* textToDisplay )
IHyperlink^ Add( IRange^ anchor, System.String^ address, System.String^ subAddress, System.String^ screenTip, System.String^ textToDisplay )
Parameters
- anchor
- Specifies the range which the hyperlink will be attached to.
- address
- Specifies the address of the hyperlink (such as "https://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.