Back to Devexpress

Document.OdtBytes Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-document-d6791da1.md

latest2.1 KB
Original Source

Document.OdtBytes 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.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
byte[] OdtBytes { get; set; }
vb
Property OdtBytes As Byte()

Property Value

TypeDescription
Byte[]

An array of bytes that contains content in DOCX format.

|

Remarks

Use the following methods to save the document in DOCX format:

The SubDocument.GetDocxBytes method retrieves the content of the specified document range in DOCX format.

See Also

Document Interface

Document Members

DevExpress.XtraRichEdit.API.Native Namespace