PDF Performance Improvements (Coming soon in v16.2)

Paul Usher's Blog
10 November 2016
I'm excited to announce that both the WinForms and WPF PDF Viewer along side the PDF Document Processor controls have been improved further in the upcoming v16.2 release. We understand performance is a key factor when choosing tools for your applications and the engineering teams have been work tirelessly to achieve more. 
  • Rendering has been improved by 30%, you will see an immediate benefit when scrolling or zooming on your documents.
  • Printing has been optimised, using a new PDF Print Engine we are able to render up to 4x faster and produce an output file around 20x smaller than our previous version. (Tests performed on a text document writing to the Microsoft XPS Document Writer) 
This new functionality is enabled by default, however if you need to use the old printing engine, you can do so by changing the PdfPrinterSettings.EnableLegacyPrinting property to true. One thing to note, if the new engine is used to create your document, the PdfPrinterSettings.PrintingDpi, PdfViewer.MaxPrintingDpi, and PdfViewerControl.MaxPrintingDpi properties will not have any effect on the print quality, you will also see we have removed the PrintingDPI option from the Print Dialog in the WinForms and WPF Viewers.

As always, I'd love to hear your feedback on the improvements. 

Free DevExpress Products – Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We’ll be happy to follow-up.
Jens Havelberg
Jens Havelberg

great!! thanks!!

9 November 2016
Tomas M.
Tomas M.

Good news. I would highly appreciated if you could change zooming to zoom around mouse cursor like in Adobe pfd reader and if the control hides scrollbars when content fits the screen.

10 November 2016
Brian Maxim
Brian Maxim

Hi, is the new print engine based on System.Drawing.PrintDocument or are you bypassing the .NET framework? we find it unstable with certain printers/drivers when trying to print direct or from within a service. MS don't support it and its very difficult to find alternative solutions. The "settings to access 'printer name' are not valid" seems to be quite a common reported issue across the web.

stackoverflow.com/.../printdocument-print-results-in-win32exception-the-operation-completed-successful

stackoverflow.com/.../background-thread-printing-issue

10 November 2016
Paul Usher (DevExpress)
Paul Usher (DevExpress)

@Tomas : thank you for the feedback, it has been passed on to the engineering teams for consideration.

@Brian : both the old and new print engines use System.Drawing.PrintDocument, so we are not expecting any new issues to arise. The new version had changes to the way we handle embedded fonts and the cache algorithm.

10 November 2016
Edhy Rijo
Edhy Rijo

Hi Paul,

These are super great news.  

We use the PDF Document Processor a lot.  We are currently working on another interactive PDF with many fields and the rendering and printing improvements are very well welcome since we may generate PDF documents with several hundred pages.

12 November 2016

Please login or register to post comments.