Skip to main content

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