Back to Devexpress

Document.DocmBytes Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-document-9fb5f08e.md

latest1.9 KB
Original Source

Document.DocmBytes Property

Gets or sets the document content as an array of bytes in DOCM (Microsoft Office Open XML macro-enabled document) format.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

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

Property Value

TypeDescription
Byte[]

The document content in DOCM format.

|

Remarks

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

The SubDocument.GetDocmBytes method retrieves the content of the specified document range in DOCM format.

See Also

Document Interface

Document Members

DevExpress.XtraRichEdit.API.Native Namespace