Skip to main content
All docs
V24.1

Document.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.API.Native

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

byte[] DotmBytes { get; set; }

Property Value

Type Description
Byte[]

The document content in DOTM format.

Remarks

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

The SubDocument.GetDotmBytes method retrieves the content of the specified document range in DOTM format.

See Also