Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxRichEditCustomDocumentServer.HtmlText Property

Specifies the opened document’s content as an HTML document.

#Declaration

Delphi
property HtmlText: string read; write;

#Property Value

Type Description
string

A document content string in the HTML format.

#Remarks

This property allows you to do the following:

  • Modify the opened document.

  • Replace the opened document with another HTML document.

  • Copy the opened document between Rich Edit components.

  • Save the document to a file or stream in the HTML format.

Note

An assigned string should include a valid HTML document.

The document server component has built-in support only for the plain text format to avoid excessive dependencies. Refer to the following topic for information on how to enable the HTML format: Document Server: Document Management.

See Also