Skip to main content
A newer version of this page is available. .
All docs
V21.2

RichEditControl.FlatOpcMacroEnabledBytes Property

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.RichEdit

Declaration

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

Property Value

Type Description
Byte[]

The document content in FlatOpcMacroEnabled format.

Remarks

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

See Also