All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

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.1.Core.dll

Declaration

[DefaultValue(false)]
public static bool EnableLegacyPdfExport { get; set; }
<DefaultValue(False)>
Public Shared Property EnableLegacyPdfExport As Boolean

Property Value

Type Description
Boolean

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