Back to Devexpress

RichEditDocumentServer.OpenDocumentBytes Property

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

latest1.8 KB
Original Source

RichEditDocumentServer.OpenDocumentBytes Property

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

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

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

Property Value

TypeDescription
Byte[]

An array of bytes containing data in the OpenDocument Text (.odt) format.

|

Remarks

We recommend that you use the RichEditDocumentServer.OdtBytes property instead of the RichEditDocumentServer.OpenDocumentBytes property.

Use the Document.OdtBytes property when operating at the document level, or the SubDocument.GetOdtBytes to retrieve a document range in DOCX format.

See Also

RichEditDocumentServer Class

RichEditDocumentServer Members

DevExpress.XtraRichEdit Namespace