OdpRun
OfficeIMO.OpenDocument
An XML-backed presentation inline text run.
Inheritance
- object
- OdpRun
Usage
Explore 7 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 7
- Method OdpHyperlink.AddRun
- Property OdpInlineNode.Run
- Method OdpParagraph.AddRun
- Property OdpParagraph.Runs
- Method OdpRun.AddRun
- Method OdpRun.AddText
- Method OdpRun.TransformTextCase
Methods
public OdpHyperlink AddHyperlink(string text, string href) #Appends a hyperlink inside this run without fetching its target.
Parameters
- text string
- href string
Returns
OdpHyperlinkpublic OdpRun AddRun(string? text = null) #Appends a nested styled run.
Parameters
- text string? = null
Returns
OdpRunpublic OdpRun AddText(string text) #Appends text after existing child nodes.
Parameters
- text string
Returns
OdpRunInherited Methods
Properties
public IReadOnlyList<OdpInlineNode> InlineNodes { get; } #Ordered text, runs, and hyperlinks inside this run.
public OdfTextDecorationStyle? UnderlineStyle { get; set; } #Explicit or inherited native underline style.
public OdfTextDecorationType? UnderlineType { get; set; } #Explicit or inherited native underline line count.
public bool UsesNonSolidUnderlineStyle { get; } #Whether the effective underline uses a non-solid ODF decoration style.
public OdfTextDecorationStyle? LineThroughStyle { get; set; } #Explicit or inherited native line-through style.
public OdfTextDecorationType? LineThroughType { get; set; } #Explicit or inherited native line-through line count.
public bool UsesNonSolidLineThroughStyle { get; } #Whether the effective line-through uses a non-solid ODF decoration style.
public OdfTextPosition? TextPosition { get; set; } #Explicit or inherited baseline placement.
public OdfTextTransform? TextTransform { get; set; } #Explicit or inherited display-time case transformation.
public bool? SmallCaps { get; set; } #Explicit or inherited small-cap display formatting.
public OdfColor? BackgroundColor { get; set; } #Explicit or inherited text background color.
public bool HasTextBackgroundOverride { get; } #Whether an inline style sets a text background, including transparent.