Skip to main content

RichEditControl.MhtText Property

Gets or sets the control’s content as MHT text.

Namespace: DevExpress.Xpf.RichEdit

Assembly: DevExpress.Xpf.RichEdit.v23.2.dll

NuGet Package: DevExpress.Wpf.RichEdit

Declaration

[Bindable(true)]
[Browsable(false)]
public string MhtText { get; set; }

Property Value

Type Description
String

A string containing text in MHT format.

Remarks

Use the Document.MhtText when operating at the document level, or the SubDocument.GetMhtText to retrieve a document range in MHT format.

Assigning the MhtText property value results in a new loaded document that is imported from the MHT format. Check the MhtText property value when the RichEditControl.DocumentLoaded event handler, i.e. when the document is fully loaded.

See Also