Skip to content

PDFDocument: Reports With Full Vectorial Quality

Back in 2020 when PDFDocument was first introduced in Xojo, we had to make a compromise in order to render the output created via Xojo’s integrated Report Editor. That was far from ideal, but we needed to first meet some other requirements in order to get the full vectorial quality you expect in both PDFs as well as in rendering reports.

With Xojo 2022r1 I am happy to say we have achieved that goal! The best part is that you don’t need to do anything to take advantage of the update. Keep your code as it is now and, the next time you output your report into a PDF document you’ll get the full vectorial quality you expect!

From left to right: PDF Report output using Xojo 2021r3.1, same report output using Xojo 2022r1, and an area of that PDF Zoomed at 400% in the Viewer app.

As you can see, the difference is quite notable. Additionally, because the new Reports rendering is full vectorial quality, that means that you will be able to select the text or even using the Search capability provided by your PDF viewer app.

Paul learned to program in BASIC at age 13 and has programmed in more languages than he remembers, with Xojo being an obvious favorite. When not working on Xojo, you can find him talking about retrocomputing at Goto 10 and on Twitter @lefebvre.