Skip to main content

TdxRichEditCustomDocumentServer.DocBytes Property

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

Declaration

property DocBytes: TArray<Byte> read; write;

Property Value

Type Description
TArray<T>

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.

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 DOC format: Document Server: Document Management.

See Also