PlainTextWithLinefeeds Property
Retrieves the RichTextEditor HTML content in plain text format and replace carriage returns with the appropriate br and p tags for breaks.

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

Syntax

C#
public string PlainTextWithLinefeeds { get; }
Visual Basic
Public ReadOnly Property PlainTextWithLinefeeds As String
	Get
Visual C++
public:
property String^ PlainTextWithLinefeeds {
	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 plaintextwithlinefeeds = editor1.PlainTextWithLinefeeds;

See Also