[]
Represents a text element in a body content.
A Text belongs to a single Run, which determines its formatting. Derived classes include FieldCode, Break, Symbol, Tab and LastRenderedPageBreak.
public class Text : ContentObject, IBrowsable<Text>
Gets whether the text belongs to an Office Math zone.
public bool IsOMathText { get; }
Gets the next text content.
public Text Next { get; }
Gets the content parent Run.
public Run ParentRun { get; }
Gets or sets a value indicating whether to preserve white spaces while displaying or saving content.
public bool PreserveSpace { get; set; }
Gets the previous text content.
public Text Previous { get; }
Gets or sets the text content value.
public virtual string Value { get; set; }
Splits the text content at a specified position.
public virtual Text Split(int position)
position
intThe position in the text where to split.
The second part of the split text content.
Gets string representation of the content.
public override string ToString()
String representation of the content.