Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

RichEditControlCompatibility.EnableLegacyPdfExport Property

Allows you to use obsolete PDF export implemented in earlier versions. Not supported in .NET Standard 2.0+ / .NET Core 2.1+.

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

[DefaultValue(false)]
public static bool EnableLegacyPdfExport { get; set; }

Property Value

Type Default Description
Boolean **false**

true to use PDF export based on the Printing System functionality; otherwise, false.

Remarks

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 which uses the Printing System and its PrintingSystemBase.ExportToPdf method.

Starting with v16.1, the Printing System itself uses a new PDF export engine. So, you should also set the PrintingSettings.UseNewPdfExport property to false to ensure reverting to the older export engine.

DevExpress.XtraRichEdit.RichEditControlCompatibility.EnableLegacyPdfExport = true;
DevExpress.XtraPrinting.Native.PrintingSettings.UseNewPdfExport = false;

Note

In v19.2 and earlier, use the RichEditControlCompatibility.UsePrintingSystemPdfExport property to enable the legacy PDF export engine.

Word Processing Document API does not support PDF export based on the Printing System functionality in .NET Standard 2.0+ / .NET Core 2.1+. The EnableLegacyPdfExport property does not change the current PDF export engine.

See Also