[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IHyperlinks.Add

Add Method

Adds a hyperlink to the specified range (IHyperlink object).

Declaration
IHyperlink Add(IRange anchor, string address, string subAddress = "", string screenTip = "", string textToDisplay = "")
Function Add(anchor As IRange, address As String, Optional subAddress As String = "", Optional screenTip As String = "", Optional textToDisplay As String = "") As IHyperlink
Parameters
Type Name Description
IRange anchor

Required IRangeThe anchor for the hyperlink.

string address

Required String. The address of the hyperlink.

string subAddress

Optional Object. The subaddress of the hyperlink.

string screenTip

Optional Object. The screen tip to be displayed when the mouse pointer is paused over the hyperlink.

string textToDisplay

Optional Object. The text to be displayed for the hyperlink.

Returns
Type Description
IHyperlink

Adds a hyperlink to the specified shape (IHyperlink object).

Declaration
IHyperlink Add(IShape shape, string address, string subAddress = "", string screenTip = "", string textToDisplay = "")
Function Add(shape As IShape, address As String, Optional subAddress As String = "", Optional screenTip As String = "", Optional textToDisplay As String = "") As IHyperlink
Parameters
Type Name Description
IShape shape

Required IShapeThe shape for the hyperlink.

string address

Required String. The address of the hyperlink.

string subAddress

Optional Object. The subaddress of the hyperlink.

string screenTip

Optional Object. The screen tip to be displayed when the mouse pointer is paused over the hyperlink.

string textToDisplay

Optional Object. The text to be displayed for the hyperlink.

Returns
Type Description
IHyperlink