Skip to main content

IdxRichEditDocument.SetDocBytes(TBytes) Method

Replaces the document’s content with another document in the DOC binary format.

Declaration

procedure SetDocBytes(const Value: TBytes);

Parameters

Name Type
Value TBytes

Remarks

Call this procedure and pass a byte array that contains a DOC document as a parameter to clear the document and fill it with the specified content.

Note

The SetDocBytes procedure interpretes the specified byte array as a DOC document. The byte array must be a valid DOC document.

The SetDocBytes procedure is the DocBytes property’s setter.

See Also