Skip to content

Tag: PDF

Tutorial: Design a Control to Dynamically Preview Images and PDF Files

In this tutorial learn to design a cross-platform control that dynamically previews images and PDF files. Files can dragged and dropped onto the control, opened from the standard file selection dialog, and, in the case of images, added using Copy and Paste. The file path will be displayed below the addendum file.

Comments closed

PDFDocument: Margins, Merging in a Table and the new Completed method

Xojo 2022r3 included the ability to easily add tables to PDF documents created with Xojo. Now, starting with Xojo 2022r4, this feature has been improved so you can to merge the cells in table’s row! Additionally, you can now set a page’s upper and lower margins and get informed when the table has finished drawing itself. Continue reading to learn how to do all these things!

Comments closed

PDFDocument Improvements

While PDFTable and PDFDataTableSource ease the way to render tables in your PDF documents on Desktop, Web, Raspberry Pi and Console projects (iOS to come!) and are the big new features for PDFDocument in Xojo 2022r3, that’s not all that improved. There are additional features added to PDFDocument you might find helpful such as more control while using PDFForm and improvements to dealing with TOC indexes. Learn more about how to get advantage of these additions!

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