Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / IHyperlinks Interface / Add Method / Add(IRange,String,String,String,String) Method
Required IRangeThe anchor for the hyperlink.
Required String. The address of the hyperlink.
Optional Object. The subaddress of the hyperlink.
Optional Object. The screen tip to be displayed when the mouse pointer is paused over the hyperlink.
Optional Object. The text to be displayed for the hyperlink.
In This Topic
    Add(IRange,String,String,String,String) Method
    In This Topic
    Adds a hyperlink to the specified range (IHyperlink object).
    Syntax
    IHyperlink Add( 
       IRange anchor,
       System.string address,
       System.string subAddress,
       System.string screenTip,
       System.string textToDisplay
    )

    Parameters

    anchor
    Required IRangeThe anchor for the hyperlink.
    address
    Required String. The address of the hyperlink.
    subAddress
    Optional Object. The subaddress of the hyperlink.
    screenTip
    Optional Object. The screen tip to be displayed when the mouse pointer is paused over the hyperlink.
    textToDisplay
    Optional Object. The text to be displayed for the hyperlink.
    See Also