Back to Devexpress

Document.OpenXmlBytes Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-document-95efd5c8.md

latest2.3 KB
Original Source

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.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[Browsable(false)]
byte[] OpenXmlBytes { get; set; }
vb
<Browsable(False)>
Property OpenXmlBytes As Byte()

Property Value

TypeDescription
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

Document Interface

Document Members

DevExpress.XtraRichEdit.API.Native Namespace