Class
OdfTextRun
OfficeIMO.OpenDocument
A native styled inline span.
Inheritance
- OdfTextContent
- OdfTextRun
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.AddRun
- Property OdfTextContent.Runs
- Method OdfTextHyperlink.AddRun
- Property OdfTextHyperlink.Runs
- Property OdfTextNode.Run
- Method OdfTextParagraph.AddRun
- Property OdfTextParagraph.Runs
- Method OdfTextRun.AddRun
- Method OdfTextRun.AddText
- Method OdfTextRun.TransformTextCase
- Property OdfTextRun.Runs
Methods
public OdfTextRun AddText(string text) #Appends native text and returns this inline.
Parameters
- text string
Returns
OdfTextRunpublic OdfTextRun 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
OdfTextRunInherited 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
OdfTextRunInherited 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