[]
Element that displays a string.
Alignment and formatting are controlled by the element's Style.
public class TextElement : ContentElement, ISupportUia
Name | Description |
---|---|
TextElement() | Initializes a new instance of an empty TextElement. |
TextElement(Style) | Initializes a new instance of a TextElement with a given style. |
TextElement(Style, string) | Initializes a new instance of a TextElement with a given style and contents. |
TextElement(string) | Initializes a new instance of a TextElement with a given text. |
Name | Description |
---|---|
ForceLineBreak | Gets a Element.LineBreak value that determines whether there should be line breaks before and/or after this TextElement when it occurs in a paragraph. |
Text | Gets or sets the string displayed by this TextElement. |
Name | Description |
---|---|
GetValue() | Gets the string represented by this TextElement. |