Skip to main content
All docs
V25.1
  • 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.v25.1.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