Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / IHyperlinks Interface / Add Method / Add(IShape,String,String,String,String) Method
Required GrapeCity.Documents.Excel.Drawing.IShapeThe 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 mouse pointer 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,
       System.string address,
       System.string subAddress,
       System.string screenTip,
       System.string textToDisplay
    )

    Parameters

    shape
    Required GrapeCity.Documents.Excel.Drawing.IShapeThe 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 mouse pointer is paused over the hyperlink.
    textToDisplay
    Optional Object. The text to be displayed for the hyperlink.
    See Also