Namespace: OfficeIMO.Word
public class WordHyperLink
Inheritance Object → WordHyperLink
public Uri Uri { get; set; }
Uri
Specifies a location in the target of the hyperlink, in the case in which the link is an external link.
public string Id { get; set; }
public bool IsEmail { get; }
public string EmailAddress { get; }
public bool History { get; set; }
Specifies a location in the target of the hyperlink, in the case in which the link is an external link.
public string DocLocation { get; set; }
Specifies the name of a bookmark within the document. See Bookmark. If the attribute is omitted, then the default behavior is to navigate to the start of the document. If the r:id attribute is specified, then the anchor attribute is ignored.
public string Anchor { get; set; }
public string Tooltip { get; set; }
public Nullable<TargetFrame> TargetFrame { get; set; }
public bool IsHttp { get; }
public string Scheme { get; }
public string Text { get; set; }
public WordHyperLink(WordDocument document, Paragraph paragraph, Hyperlink hyperlink)
document
WordDocument
paragraph
Paragraph
hyperlink
Hyperlink
Removes hyperlink. When specified to remove paragraph it will only do so, if paragraph is empty or contains only paragraph properties.
public void Remove(bool includingParagraph)
includingParagraph
Boolean
public static WordParagraph AddHyperLink(WordParagraph paragraph, string text, string anchor, bool addStyle, string tooltip, bool history)
paragraph
WordParagraph
text
String
anchor
String
addStyle
Boolean
tooltip
String
history
Boolean
public static WordParagraph AddHyperLink(WordParagraph paragraph, string text, Uri uri, bool addStyle, string tooltip, bool history)
paragraph
WordParagraph
text
String
uri
Uri
addStyle
Boolean
tooltip
String
history
Boolean