TextDocument Class
Assembly: Topten.RichTextKit.dll
Namespace: Topten.RichTextKit.Editor
Represents a the document part of a Document/View editor
public class TextDocument
Inheritance
TextDocument → object
Constructors
| TextDocument() | Constructs a new TextDocument |
Properties
| DefaultAlignment | Gets the default alignment for paragraphs in this document |
| DefaultStyle | Specifies the style to be used in plain text mode |
| ImeCompositionOffset | Get the code point offset position of the current IME composition |
| IsImeComposing | Indicates if an IME composition is currently in progress |
| Length | Gets the total length of the document in code points |
| LineWrap | Indicates if text should be wrapped |
| MarginBottom | The document's bottom margin |
| MarginLeft | The document's left margin |
| MarginRight | The document's right margin |
| MarginTop | The document's top margin |
| MeasuredContentWidth | The total width of the content of the document |
| MeasuredHeight | The total height of the document |
| MeasuredOverhang | Gets the actual measured overhang in each direction based on the fonts used, and the supplied text. |
| MeasuredWidth | The total width of the document |
| PageWidth | Specifies the page width of the document |
| PlainTextMode | Specifies if the document is in plain text mode |
| SingleLineMode | Specifies if the document is in single line mode |
| Text | Get/set the entire document text |
| UndoManager | Get the undo manager for this document |
