Skip to main content

RichEditControl.HtmlText Property

Gets or sets the control's content as HTML text.

Namespace: DevExpress.Xpf.RichEdit

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

#Declaration

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

#Property Value

Type Description
String

A string containing text in HTML format.

#Remarks

The HtmlText property returns the HTML document with external content - e.g. images - replaced with the name placeholders numbered in consecutive order. That is, images are named img1.img etc.

Use the Document.HtmlText when operating at the document level, or the SubDocument.GetHtmlText to retrieve a document range in HTML format.

#Implements

See Also