Skip to main content

IdxRichEditDocument.RtfText Property

Specifies the entire document’s content as an RTF string.

Declaration

property RtfText: string read; write;

Property Value

Type Description
string

A document content string in the RTF format.

Remarks

This property allows you to do the following:

  • Modify the opened document.

  • Replace the opened document with another RTF document.

  • Copy the opened document between Rich Edit components.

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

Note

An assigned string should include a valid RTF document.

The document server component supports only the plain text format out-of-the-box to avoid excessive dependencies. Refer to the following topic for information on how to enable the RTF format: Document Server: Document Management

See Also