.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

Document.RtfText Property

Gets or sets the formatted text content of the document.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

string RtfText { get; set; }

Property Value

Type Description
String

A string, containing the document’s content in rich text format.

Remarks

Use the following methods to save the document in RTF format:

The SubDocument.GetRtfText method allows you to retrieve the specified range in the RTF format.

See Also