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

#Declaration

byte[] OpenXmlBytes { get; set; }

#Property Value

Type Description
Byte[]

An array of bytes representing the document in Docx format.

#Remarks

Use the Document.SaveDocument or the RichEditControl.SaveDocumentAs methods to save the document in Docx format. The SubDocument.GetOpenXmlBytes method enables you to get the content of the specified document range in Docx format.

See Also