Back to Devexpress

RichEditControl.MhtText Property

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-a9a0b4e2.md

latest1.9 KB
Original Source

RichEditControl.MhtText Property

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

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.XtraRichEdit.v25.2.dll

NuGet Package : DevExpress.Win.RichEdit

Declaration

csharp
[Bindable(true)]
[Browsable(false)]
public string MhtText { get; set; }
vb
<Bindable(True)>
<Browsable(False)>
Public Property MhtText As String

Property Value

TypeDescription
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

MhtText

GetMhtText

RichEditControl Class

RichEditControl Members

DevExpress.XtraRichEdit Namespace