[]
Represents the collection of hyperlinks for a worksheet or range. Each hyperlink is represented by the IHyperlink object.
public interface IHyperlinks : IEnumerable
Returns the number of objects in the collection.
int Count { get; }
Gets the IHyperlink by index.
IHyperlink this[int index] { get; }
index intThe index of the collection.
Returns the IHyperlink object.
Adds a hyperlink to the specified shape (IHyperlink object).
IHyperlink Add(IShape shape, string address, string subAddress = "", string screenTip = "", string textToDisplay = "")
shape IShapeRequired IShapeThe shape for the hyperlink.
address stringRequired String. The address of the hyperlink.
subAddress stringOptional Object. The subaddress of the hyperlink.
screenTip stringOptional Object. The screen tip to be displayed when the mouse pointer is paused over the hyperlink.
textToDisplay stringOptional Object. The text to be displayed for the hyperlink.
Adds a hyperlink to the specified range (IHyperlink object).
IHyperlink Add(IRange anchor, string address, string subAddress = "", string screenTip = "", string textToDisplay = "")
anchor IRangeRequired IRangeThe anchor for the hyperlink.
address stringRequired String. The address of the hyperlink.
subAddress stringOptional Object. The subaddress of the hyperlink.
screenTip stringOptional Object. The screen tip to be displayed when the mouse pointer is paused over the hyperlink.
textToDisplay stringOptional Object. The text to be displayed for the hyperlink.
Deletes the object.
void Delete()