Skip to main content

Document.MhtText Property

Gets or sets the document content as MHT text.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

string MhtText { get; set; }

Property Value

Type Description
String

A string containing text of the document in MHT format.

Remarks

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