SimpleTextDocument
Class
Represents a simple, immutable text document.
Definition
Namespace:Telerik.Windows.Documents.TextRepresentation
Assembly:Telerik.Windows.Documents.Core.dll
Syntax:
C#
public class SimpleTextDocument
Inheritance: objectSimpleTextDocument
Constructors
Initializes a new instance of the SimpleTextDocument class with the specified text content.
C#
public SimpleTextDocument(string text, DocumentType documentType)
The text content to be stored in the document. Cannot be null.
documentTypeDocumentTypeThe type of document.
Properties
Gets the type of document represented by this instance.
C#
public DocumentType DocumentType { get; }