Skip to main content
All docs
V25.1
  • RichEditControl.FlatOpcMacroEnabledTemplateBytes Property

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

    Namespace: DevExpress.XtraRichEdit

    Assembly: DevExpress.XtraRichEdit.v25.1.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