Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / 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 mousepointer 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,
       java.lang.String address,
       java.lang.String subAddress,
       java.lang.String screenTip,
       java.lang.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 mousepointer is paused over the hyperlink.
    textToDisplay
    Optional Object. The text to be displayed for the hyperlink.
    See Also