Class
OdfTextHyperlink
OfficeIMO.OpenDocument
A native hyperlink whose target is preserved without network access.
Inheritance
- OdfTextContent
- OdfTextHyperlink
Usage
Explore 11 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 11
- Method OdfTextContent.AddHyperlink
- Property OdfTextContent.Hyperlinks
- Method OdfTextHyperlink.AddHyperlink
- Method OdfTextHyperlink.AddText
- Method OdfTextHyperlink.TransformTextCase
- Property OdfTextHyperlink.Hyperlinks
- Property OdfTextNode.Hyperlink
- Method OdfTextParagraph.AddHyperlink
- Property OdfTextParagraph.Hyperlinks
- Method OdfTextRun.AddHyperlink
- Property OdfTextRun.Hyperlinks
Methods
public OdfTextHyperlink AddText(string text) #Appends native text and returns this inline.
Parameters
- text string
Returns
OdfTextHyperlinkpublic OdfTextHyperlink TransformTextCase(OfficeTextCase textCase, CultureInfo? culture = null) #Transforms stored text and returns the same native receiver.
Parameters
- textCase OfficeIMO.Drawing.OfficeTextCase
- culture System.Globalization.CultureInfo? = null
Returns
OdfTextHyperlinkInherited Methods
public OdfTextField AddField(OdfTextFieldKind kind, string? displayText = null) #Inherited from OdfTextContent
Parameters
- kind OdfTextFieldKind
- displayText string? = null
Returns
OdfTextFieldpublic OdfTextHyperlink AddHyperlink(string text, string href) #Inherited from OdfTextContent
Parameters
- text string
- href string
Returns
OdfTextHyperlinkpublic OdfTextRun AddRun(string? text = null) #Inherited from OdfTextContent
Parameters
- text string? = null
Returns
OdfTextRunProperties
public string Href { get; set; } #Hyperlink target. Relative and absolute references remain as supplied.
Inherited Properties
public IReadOnlyList<OdfTextNode> InlineNodes { get; } #Inherited from OdfTextContent
public IReadOnlyList<OdfTextHyperlink> Hyperlinks { get; } #Inherited from OdfTextContent
public IReadOnlyList<OdfTextField> Fields { get; } #Inherited from OdfTextContent
public OdfTextDecorationStyle? UnderlineStyle { get; set; } #Inherited from OdfTextContent
public OdfTextDecorationType? UnderlineType { get; set; } #Inherited from OdfTextContent
public OdfTextPosition? TextPosition { get; set; } #Inherited from OdfTextContent
public OdfTextTransform? TextTransform { get; set; } #Inherited from OdfTextContent