Back to Devexpress

RichEditDocumentServer.OpenXmlBytes Property

officefileapi-devexpress-dot-xtrarichedit-dot-richeditdocumentserver-07710100.md

latest1.7 KB
Original Source

RichEditDocumentServer.OpenXmlBytes Property

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

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[Browsable(false)]
public byte[] OpenXmlBytes { get; set; }
vb
<Browsable(False)>
Public Property OpenXmlBytes As Byte()

Property Value

TypeDescription
Byte[]

An array of bytes that contains document content in DOCX format.

|

Remarks

We recommend that you use the RichEditDocumentServer.DocxBytes property instead of the RichEditDocumentServer.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

RichEditDocumentServer Class

RichEditDocumentServer Members

DevExpress.XtraRichEdit Namespace