Back to Devexpress

RichEditDocumentServer.DotmBytes Property

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

latest1.7 KB
Original Source

RichEditDocumentServer.DotmBytes Property

Gets or sets the document content as an array of bytes in DOTM (Microsoft Office Open XML Macro-Enabled Template) format.

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public byte[] DotmBytes { get; set; }
vb
Public Property DotmBytes As Byte()

Property Value

TypeDescription
Byte[]

The document content DOTM format.

|

Remarks

Use the RichEditDocumentServer.SaveDocument or Document.SaveDocument method to save the document in DOTM format. The SubDocument.GetDotmBytes method gets the content of the specified document range in DOTM format.

Implements

DotmBytes

See Also

RichEditDocumentServer Class

RichEditDocumentServer Members

DevExpress.XtraRichEdit Namespace