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.v24.1.Core.dll
NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation
Declaration
Property Value
Type | Description |
---|---|
Byte[] | An array of bytes representing the document in Docx format. |
Remarks
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.GetOpenXmlBytes method retrieves the content of the specified document range in Docx format.
See Also