Skip to main content

DevExpress v25.1 Update — Your Feedback Matters

Our What's New in v25.1 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

Document.OpenXmlBytes Property

Gets or sets the document content as an array of bytes in Office Open XML (DOCX) format.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v25.1.Core.dll

NuGet Package: DevExpress.RichEdit.Core

#Declaration

[Browsable(false)]
byte[] OpenXmlBytes { get; set; }

#Property Value

Type Description
Byte[]

An array of bytes that contains content in DOCX format.

#Remarks

We recommend that you use the Document.DocxBytes property instead of the Document.OpenXmlBytes property.

Use the following methods to save the document in DOCX format:

The SubDocument.GetDocxBytes method retrieves the content of the specified document range in DOCX format.

See Also