Skip to main content

IdxRichEditDocument.OpenXmlBytes Property

Specifies the opened document’s content as a byte array in the DOCX document format.

Declaration

property OpenXmlBytes: TBytes read; write;

Property Value

Type Description
TBytes

A document content byte array in the DOCX format.

Remarks

This property allows you to do the following:

  • Modify the opened document.

  • Replace the opened document with another DOCX document.

  • Copy the opened document between Rich Edit controls.

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

Note

An assigned string should include a valid DOCX document.

Rich Edit controls do not support the DOCX document format out-of-the-box to avoid excessive dependencies. Refer to the following topics for information on how to enable the DOCX format:

See Also