Back to Devexpress

RichEditControl.OpenXmlBytes Property

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-acb8eec2.md

latest1.8 KB
Original Source

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

NuGet Package : DevExpress.Win.RichEdit

Declaration

csharp
[Bindable(true)]
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public byte[] OpenXmlBytes { get; set; }
vb
<Bindable(True)>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Property OpenXmlBytes As Byte()

Property Value

TypeDescription
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

Import and Export

RichEditControl Class

RichEditControl Members

DevExpress.XtraRichEdit Namespace