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

IdxRichEditDocument.DocBytes Property

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

#Declaration

Delphi
property DocBytes: TBytes read; write;

#Property Value

Type Description
TBytes

A document content byte array in the DOC format.

#Remarks

This property allows you to do the following:

  • Modify the opened document.

  • Replace the opened document with another DOC document.

  • Copy the opened document between Rich Edit components.

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

Note

An assigned byte array should be a valid DOC document.

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

See Also