Document Solutions for Excel, Java Edition | Document Solutions
com.grapecity.documents.excel Package / IHyperlinks Interface / add Method / add(IShape,String,String,String,String) Method
Required IRangeThe shape 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(IShape,String,String,String,String) Method
    In This Topic
    Adds a hyperlink to the specified shape ( IHyperlink object).
    Syntax
    IHyperlink add( 
       IShape shape,
       java.lang.String address,
       java.lang.String subAddress,
       java.lang.String screenTip,
       java.lang.String textToDisplay
    )

    Parameters

    shape
    Required IRangeThe shape 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