Class SimpleTextDocument
Represents a simple, immutable text document.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.TextRepresentation
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public class SimpleTextDocument
Constructors
SimpleTextDocument(String, DocumentType)
Initializes a new instance of the SimpleTextDocument class with the specified text content.
Declaration
public SimpleTextDocument(string text, DocumentType documentType)
Parameters
|
System.String
text
The text content to be stored in the document. Cannot be null. |
|
DocumentType
documentType
The type of document. |
Properties
DocumentType
Gets the type of document represented by this instance.
Declaration
public DocumentType DocumentType { get; }
Property Value
|
DocumentType
|
Text
Gets the text content associated with this instance.
Declaration
public string Text { get; }
Property Value
|
System.String
|