Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IHyperlinks Interface / Add Method / Add(IShape,String,String,String) Method
The GrapeCity.Spreadsheet.Drawing.IShape object 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.


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

    Parameters

    shape
    The GrapeCity.Spreadsheet.Drawing.IShape object 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.

    Return Value

    A IHyperlink object that represents the new hyperlink.
    See Also