Skip to main content
.NET Framework 4.5.2+

Document.MhtText Property

Gets or sets the document content as MHT text.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core


string MhtText { get; set; }

Property Value

Type Description

A string containing text of the document in MHT format.


Use the Document.SaveDocument or the RichEditControl.SaveDocumentAs methods to save the document in MHT format. The SubDocument.GetMhtText method enables you to get the content of the specified document range in MHT format.

See Also