officefileapi-devexpress-dot-xtrarichedit-dot-richeditcontrolcompatibility-292bf786.md
Allows you to use obsolete PDF export implemented in earlier versions. Not supported in .NET 8+.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
[DefaultValue(false)]
public static bool EnableLegacyPdfExport { get; set; }
<DefaultValue(False)>
Public Shared Property EnableLegacyPdfExport As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true to use PDF export based on the Printing System functionality; otherwise, false.
|
If any concerns arise that a newer Rich Text Editor version exports the document to PDF in a manner different from earlier versions, and the newer image is of inferior quality, set the EnableLegacyPdfExport property to true to fall back to the former PDF export technique.
using DevExpress.XtraRichEdit;
RichEditControlCompatibility.EnableLegacyPdfExport = true;
Imports DevExpress.XtraRichEdit
RichEditControlCompatibility.EnableLegacyPdfExport = True
Word Processing Document API does not support PDF export based on the Printing System functionality in .NET 8+. The EnableLegacyPdfExport property does not change the current PDF export engine.
See Also
RichEditControlCompatibility Class