Skip to main content

RichEditControl.OpenXmlBytes Property

Gets or sets the control’s content as an array of bytes in Office Open XML (Docx) format.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v25.1.dll

NuGet Package: DevExpress.Win.RichEdit

Declaration

[Bindable(true)]
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public byte[] OpenXmlBytes { get; set; }

Property Value

Type Description
Byte[]

An array of bytes representing the document in Docx format.

Remarks

We recommend that you use the RichEditControl.DocxBytes property instead of the RichEditControl.OpenXmlBytes property.

Use the Document.DocxBytes when operating at the document level, or the SubDocument.GetDocxBytes to retrieve a document range in Docx format.

See Also