Document.DotxBytes Property
Gets or sets the document content as an array of bytes in DOTX (Microsoft Office Open XML macro-free template) format.’
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
Declaration
Property Value
Type | Description |
---|---|
Byte[] | The document content in DOTX format. |
Remarks
Use the following methods to save the document in DOTX format:
- RichEditDocumentServer.SaveDocument
- Document.SaveDocument
- RichEditControl.SaveDocument (WinForms)
- RichEditControl.SaveDocument (WPF)
The SubDocument.GetDotxBytes method retrieves the content of the specified document range in DOTX format.
See Also