Document.OpenXmlBytes Property
In This Article
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
#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:
- RichEditDocumentServer.SaveDocument
- Document.SaveDocument
- RichEditControl.SaveDocument (WinForms)
- RichEditControl.SaveDocument (WPF)
- RichEditControl.SaveDocumentAs (WinForms)
- RichEditControl.SaveDocumentAs (WPF)
The SubDocument.GetDocxBytes method retrieves the content of the specified document range in DOCX format.
See Also