[]
Represents a collection of Hyperlink objects.
public class HyperlinkCollection : ContentObjectCollection<Hyperlink>, IContentList<Hyperlink>, IReadOnlyList<Hyperlink>, IReadOnlyCollection<Hyperlink>, IEnumerable<Hyperlink>, IEnumerable
public Hyperlink Add()
public Hyperlink Add(string anchor, string text, string screenTip = null, string target = null)
anchor stringThe name of a bookmark in the current document which shall be the target of this hyperlink.
text stringThe display text of the specified hyperlink.
screenTip stringThe text that appears as a ScreenTip when the mouse pointer is positioned over the specified hyperlink.
target stringThe name of the frame or window in which you want to load the specified hyperlink.
public Hyperlink Add(Uri address, string anchor, string text, string screenTip = null, string target = null)
address UriThe address for the specified link. The address can be an e-mail address, an Internet address, or a file name.
anchor stringThe name of a bookmark in the current document which shall be the target of this hyperlink.
text stringThe display text of the specified hyperlink.
screenTip stringThe text that appears as a ScreenTip when the mouse pointer is positioned over the specified hyperlink.
target stringThe name of the frame or window in which you want to load the specified hyperlink.
Inserts a Hyperlink into this collection at a specified location.
public Hyperlink Insert(InsertLocation location)
location InsertLocationThe target InsertLocation for the insertion.
Inserts a Hyperlink into this collection at a specified location.
public Hyperlink Insert(string anchor, string text, InsertLocation location, string screenTip = null, string target = null)
anchor stringThe name of a bookmark in the current document which shall be the target of this hyperlink.
text stringThe display text of the specified hyperlink.
location InsertLocationThe target InsertLocation for the insertion.
screenTip stringThe text that appears as a ScreenTip when the mouse pointer is positioned over the specified hyperlink.
target stringThe name of the frame or window in which you want to load the specified hyperlink.
Inserts a Hyperlink into this collection at a specified location.
public Hyperlink Insert(Uri address, string anchor, string text, InsertLocation location, string screenTip = null, string target = null)
address UriThe address for the specified link. The address can be an e-mail address, an Internet address, or a file name.
anchor stringThe name of a bookmark in the current document which shall be the target of this hyperlink.
text stringThe display text of the specified hyperlink.
location InsertLocationThe target InsertLocation for the insertion.
screenTip stringThe text that appears as a ScreenTip when the mouse pointer is positioned over the specified hyperlink.
target stringThe name of the frame or window in which you want to load the specified hyperlink.