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.SetOpenXmlBytes(TBytes) Method

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

#Declaration

Delphi
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