Skip to main content

RichEditControlCompatibility.EnableLegacyPdfExport Property

Allows you to use obsolete PDF export implemented in earlier versions. Not supported in .NET 6.

Namespace: DevExpress.XtraRichEdit

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

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.

using DevExpress.XtraRichEdit;

RichEditControlCompatibility.EnableLegacyPdfExport = true;

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 6. The EnableLegacyPdfExport property does not change the current PDF export engine.

See Also