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 closedTag: PDF
How to download and preview PDFs in Xojo Web apps may be one of the most asked questions involving PDFDocument (font handling is a close second) I get. If you are interested in finding the best, and simplest, way to do this, continue reading.
Comments closedI know, I know, it’s not the usual thing to do when making presentations, but did you know that it is possible to create presentations using Xojo’s and PDF? If you’re interested in this little experiment, read on and I’ll show you how to do it using Xojo’s PDFDocument.
Comments closedThe DrawText method from the Graphics class offers a simple way to left-align text at the given X and Y coordinates, even applying a wrap value to wrap every line of the text block at the provided width value. Wouldn’t it be great to be able to do the same thing while aligning blocks of text to the right and center? Continue reading and I will show you a technique you can use as the starting point which you can fine-tune to your specific needs.
Comments closedBack 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 closedWith the added functionality of the Brush property and the ClipToPath, Clip and DrawObject methods, Xojo 2022r1 completes the practical PDFGraphics class support for all the methods and properties that makes sense (or are applicable) from Xojo’s Graphics class.
Comments closedBeginning with Xojo 2022r1 you can use Xojo’s newPDFSignature
Form Control in your PDFDocuments. Using this allows your users to be able to sign documents using a Digital Certificate. Read on to learn how…
Xojo 2022r1 brings a bunch of font handling improvements plus new features to the creation of PDF documents.
Comments closedAmong the many improvements added to PDFDocument in Xojo 2021r3 is support for Graphics.Transparency as well as support for the alpha value in the color…
Comments closedAdded to PDFDocument in Xojo 2021r3 is the ability to create PDF Forms (aka AcroForms) in your PDFs. This means that it is possible to add the following Form controls to a PDF: PDFButton, PDFTextField, PDFTextArea, PDFCheckBox, PDFRadioButton, PDFPopupMenu, PDFComboBox, PDFListBox
Comments closed