[]
Represents a hyperlink element in a body content.
public class Hyperlink : ContentObject, IBrowsable<Hyperlink>
Gets or sets the address for the specified link. The address can be an e-mail address, an Internet address, or a file name.
public Uri Address { get; set; }
Gets or sets the name of a bookmark in the current or linked document which shall be the target of this hyperlink.
public string Anchor { get; set; }
Gets or sets a location in the target of the hyperlink.
public string Location { get; set; }
Gets the next hyperlink.
public Hyperlink Next { get; }
Gets the previous hyperlink.
public Hyperlink Previous { get; }
Gets or sets the text that appears as a ScreenTip when the mouse pointer is positioned over the specified hyperlink.
public string ScreenTip { get; set; }
Gets or sets the name of the frame or window in which you want to load the specified hyperlink.
public string Target { get; set; }
Gets or sets whether the target of the parent hyperlink shall be added to a list of viewed hyperlinks when it is invoked.
public bool Viewed { get; set; }
Adds a BidirectionalOverride to the end of this hyperlink.
public BidirectionalOverride AddBidirectionalOverride()
The added BidirectionalOverride.
Adds a BidirectionalOverride to the end of this hyperlink.
public BidirectionalOverride AddBidirectionalOverride(BiDirection direction)
direction
BiDirectionBidirectionalOverride direction value.
The added BidirectionalOverride.
Adds a ComplexField to the end of this hyperlink.
public ComplexField AddComplexField(string code, string result)
code
stringThe complex field code.
result
stringThe result text of the inserted field.
The added ComplexField.
Adds a ComplexField to the end of this hyperlink.
public ComplexField AddComplexField(string code)
code
stringThe complex field code.
The added ComplexField.
Adds a ContentControl to the end of this hyperlink.
public ContentControl AddContentControl(ContentControlType type, bool fillContent = true)
type
ContentControlTypeThe new content control type.
fillContent
boolWhether to fill the new control content with default data.
The added ContentControl.
Adds a Endnote to the end of this hyperlink.
public Endnote AddEndnote(string text, char referenceCharacter, string referenceFontName)
text
stringThe endnote text.
referenceCharacter
charThe endnote reference symbol.
referenceFontName
stringThe endnote reference symbol font.
Adds a Endnote to the end of this hyperlink.
public Endnote AddEndnote(string text, string reference)
text
stringThe endnote text.
reference
stringThe endnote reference text.
Adds a Endnote to the end of this hyperlink.
public Endnote AddEndnote(string text = null)
text
stringThe endnote text.
Adds a Footnote to the end of this hyperlink.
public Footnote AddFootnote(string text, char referenceCharacter, string referenceFontName)
text
stringThe footnote text.
referenceCharacter
charThe footnote reference symbol.
referenceFontName
stringThe footnote reference symbol font.
Adds a Footnote to the end of this hyperlink.
public Footnote AddFootnote(string text, string reference)
text
stringThe footnote text.
reference
stringThe footnote reference text.
Adds a Footnote to the end of this hyperlink.
public Footnote AddFootnote(string text = null)
text
stringThe footnote text.
Adds a Hyperlink to the end of this hyperlink.
public Hyperlink AddHyperlink()
Adds a Hyperlink to the end of this hyperlink.
public Hyperlink AddHyperlink(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.
Adds a Hyperlink to the end of this hyperlink.
public Hyperlink AddHyperlink(Uri address, string anchor, string text, string screenTip = null, string target = null)
address
System.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.
Adds an OMath to the end of this hyperlink.
public OMath AddOMath()
Adds an OMath to the end of this hyperlink.
public OMath AddOMath(OMathBuiltInEquation equation)
equation
OMathBuiltInEquationA built-in equation to fill the OMath.
Adds an OMathParagraph to the end of this hyperlink.
public OMathParagraph AddOMathParagraph()
The added OMathParagraph.
Adds an OMathParagraph to the end of this hyperlink.
public OMathParagraph AddOMathParagraph(OMathBuiltInEquation equation)
equation
OMathBuiltInEquationA built-in equation to fill the OMathParagraph.
The added OMathParagraph.
Adds a Run to the end of this hyperlink.
public Run AddRun()
Adds a Run to the end of this hyperlink.
public Run AddRun(Style style)
style
StyleThe run character or linked paragraph style.
Adds a Run to the end of this hyperlink.
public Run AddRun(string text, Style style)
Adds a Run to the end of this hyperlink.
public Run AddRun(string text)
text
stringThe text of the Run to insert.
Adds a SimpleField to the end of this hyperlink.
public SimpleField AddSimpleField(string code, string result)
code
stringThe field code.
result
stringThe result text of the new field.
The added SimpleField.
Adds a SimpleField to the end of this hyperlink.
public SimpleField AddSimpleField(string code)
code
stringThe field code.
The added SimpleField.
public override bool Equals(object obj)
obj
objectpublic override int GetHashCode()