Skip to content

Category: Tips

sort code tips and tricks

How did I not know this?

Xojo MVP Anthony Cyphers has been using Xojo for nearly 20 years and is currently building a User Interface framework for a project he is working on. This project needs to have the ability to tweak colors as needed and have those changes applied across every element of that framework. Read on Anthony’s blog about the way he solved this problem.

Comments closed

PDFDocument: How to Add New Content to a Given Page

When we create a PDF document is impossible (in most of the cases) to anticipate how many pages it will have. And yet, that is something that we are going to need if, for example, we want to add a footer reflecting the current page number over the total of pages in the document. The solution is using the PageCount and CurrentPage properties in the PDFDocument class.

Comments closed

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!

Comments closed