A newer version of this page is available. Switch to the current version.

DocxExportOptions.ExportMode Property

Gets or sets a value indicating how a document is exported to DOCX.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v18.2.Core.dll


public DocxExportMode ExportMode { get; set; }
Public Property ExportMode As DocxExportMode

Property Value

Type Default Description


An DocxExportMode enumeration value that specifies the DOCX export mode.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ExportMode
Cross-Platform Class Library RemotePrintingSystem
WinForms Controls PrintingSystem
WPF Controls ExportOptionsContainer
Reporting XtraReport


The values listed in the DocxExportMode enumeration specify the way in which a document is exported to DOCX.

  • In the DocxExportMode.SingleFilePageByPage mode, the export follows the WYSIWYG paradigm: the report's page headers and footers, and top and bottom margins appear on every page of the resulting document as they appear in the report's Print Preview. Elements residing in your report can be treated as frames (by default) or exported by tables (if you enable the DocxExportOptions.TableLayout option).
  • In the DocxExportMode.SingleFile (continuous) mode, a multi-page report is converted into a single document with a table-like layout: the report's page headers and footers are repeated only once - at the beginning and end of the resulting document.

For more information, see Export to DOCX.

See Also