Syncfusion.XlsIO.Base


Syncfusion.XlsIO Namespace > IHyperLinks Interface > Add Method : Add(IShape,ExcelHyperLinkType,String,String) Method
Shape object.
The type of the hyperlink.
The address of the hyperlink.
The screen tip to be displayed when the mouse pointer is paused over the hyperlink.

Add(IShape,ExcelHyperLinkType,String,String) Method

Defines a new hyperlink for the shape object.
Syntax
'Declaration
 
Overloads Function Add( _
   ByVal shape As IShape, _
   ByVal hyperlinkType As ExcelHyperLinkType, _
   ByVal address As String, _
   ByVal screenTip As String _
) As IHyperLink
'Usage
 
Dim instance As IHyperLinks
Dim shape As IShape
Dim hyperlinkType As ExcelHyperLinkType
Dim address As String
Dim screenTip As String
Dim value As IHyperLink
 
value = instance.Add(shape, hyperlinkType, address, screenTip)

Parameters

shape
Shape object.
hyperlinkType
The type of the hyperlink.
address
The address of the hyperlink.
screenTip
The screen tip to be displayed when the mouse pointer is paused over the hyperlink.

Return Value

Returns hyperlink initialized object.
AssemblyVersion

Syncfusion.XlsIO.Base: 17.2460.0.34

See Also