Skip to main content

OpenXmlDocumentExporterOptions.ExportCompatibilitySettings Property

Gets or sets whether to export the document compatibility settings.

Namespace: DevExpress.XtraRichEdit.Export

Assembly: DevExpress.RichEdit.v24.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core

Declaration

[DefaultValue(true)]
public bool ExportCompatibilitySettings { get; set; }

Property Value

Type Default Description
Boolean true

true, to export the compatibility settings; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ExportCompatibilitySettings
RichEditDocumentExportOptions
.OpenXml .ExportCompatibilitySettings

Remarks

Compatibility settings, contained in the loaded document, are written to the exported document. In versions prior to 16.2 they are not written to retain the previous behavior. In this situation, set the ExportCompatibilitySettings property to true to include compatibility settings in the exported document.

If the ExportCompatibilitySettings is true, the following compatibility settings are not written in the export output:

See Also