Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 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

    Document.DocmBytes Property

    Gets or sets the document content as an array of bytes in DOCM (Microsoft Office Open XML macro-enabled document) format.

    Namespace: DevExpress.XtraRichEdit.API.Native

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

    NuGet Package: DevExpress.RichEdit.Core

    #Declaration

    byte[] DocmBytes { get; set; }

    #Property Value

    Type Description
    Byte[]

    The document content in DOCM format.

    #Remarks

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

    The SubDocument.GetDocmBytes method retrieves the content of the specified document range in DOCM format.

    See Also