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

RichEditControlCompatibility.UsePrintingSystemPdfExport Property

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

Namespace: DevExpress.XtraRichEdit

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

Declaration

[DefaultValue(false)]
public static bool UsePrintingSystemPdfExport { 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 UsePrintingSystemPdfExport property to true to fall back to the former PDF export technique which uses the Printing System and its PrintingSystemBase.ExportToPdf method.

However, starting with version 16.1, the Printing System itself uses a new PDF export engine by default. So, to ensure reverting to the older export engine, you should also set the PrintingSettings.UseNewPdfExport property to false as illustrated in the code snippet below.

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

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

See Also