ClassSimpleTextDocument
Class
Represents a simple, immutable text document.
Definition
Namespace:Telerik.Windows.Documents.TextRepresentation
Assembly:Telerik.Windows.Documents.Core.dll
Syntax:
cs-api-definition
public class SimpleTextDocument
Inheritance: objectSimpleTextDocument
Constructors
SimpleTextDocument(string, DocumentType)
Initializes a new instance of the SimpleTextDocument class with the specified text content.
Declaration
cs-api-definition
public SimpleTextDocument(string text, DocumentType documentType)
Parameters
text
The text content to be stored in the document. Cannot be null.
documentType
The type of document.
Properties
DocumentType
Gets the type of document represented by this instance.