Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditControl.FlatOpcMacroEnabledTemplateBytes Property

Gets or sets the document content in FlatOpcMacroEnabledTemplate (Microsoft Word XML Macro-Enabled Template) format.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v24.2.dll

NuGet Package: DevExpress.Win.RichEdit

#Declaration

[Bindable(true)]
[Browsable(false)]
public byte[] FlatOpcMacroEnabledTemplateBytes { get; set; }

#Property Value

Type Description
Byte[]

The document content in FlatOpcMacroEnabledTemplate format.

#Remarks

Use the RichEditControl.SaveDocument or Document.SaveDocument methods to save the document in FlatOpcMacroEnabledTemplate format. The SubDocument.GetDocBytes method gets the content of the specified document range in FlatOpcMacroEnabledTemplate format.

See Also