Retrieves the RichTextEditor HTML content in plain text format.

Namespace: RTE
Assembly: RichTextEditor (in RichTextEditor.dll) Version: 8.0.0.0 (8.0.0.0)

Syntax

C#
public string PlainText { get; }
Visual Basic
Public ReadOnly Property PlainText As String
	Get
Visual C++
public:
property String^ PlainText {
	String^ get ();
}

Remarks

This property is read-only. If you want to store the document text in a database which is searchable, you can use the output of this property to create an HTML-free copy for indexing.

Examples

CopyC#
string plainText = editor1.PlainText;

See Also