Skip to main content

IdxRichEditDocument.SetOpenXmlBytes(TBytes) Method

Replaces the document’s content with a series of bytes in the DOCX (OpenXML) document format.

Declaration

procedure SetOpenXmlBytes(const Value: TBytes);

Parameters

Name Type
Value TBytes

Remarks

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

Note

The SetOpenXmlBytes procedure interpretes the specified byte array as a DOCX document. The byte array must be a valid OpenXML document.

The SetOpenXmlBytes procedure is the OpenXmlBytes property’s setter.

See Also