Class TextRun
A run of text with uniform direct formatting (w:r with w:t/w:delText content). Non-breaking and soft hyphens are represented as their Unicode characters (U+2011, U+00AD) within Text. Tabs are not: a w:tab is an element, so it is modelled as a TabChar inline of its own.
public sealed class TextRun : RunContentInline
- Inheritance
-
TextRun
- Inherited Members
- Extension Methods
Constructors
- TextRun()
Initializes an empty run.
- TextRun(string)
Initializes a run with text.
Properties
- Text
Gets or sets the run text. Never null; the empty string for an empty run.
Methods
- Accept(DomVisitor)
Dispatches to the visitor method for this node's concrete type.
- Clone()
Creates a detached deep copy.
- CloneCore()
Creates the deep copy for Clone(). Implementations copy all owned state, deep-clone children and copy unknown-XML islands.