Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditControlCompatibility.EnableLegacyPdfExport Property

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

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v24.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.

using 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