Skip to main content

TdxRichEditCustomDocumentServer.OpenXmlBytes Property

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

Declaration

property OpenXmlBytes: TArray<Byte> read; write;

Property Value

Type Description
TArray<T>

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 components.

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

Note

An assigned string should include a valid DOCX 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 DOCX format: Document Server: Document Management.

See Also