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 closedCategory: Learning
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 closedHow do you compute a massive number raised to the power of another huge number, modulo something else? Use Xojo to solve
Comments closedI am so excited to be planning the Xojo Developer Retreat coming up in Nashville in September. We decided to call it a retreat to signify that we are emphasizing the part that attendees over the years has told us was the best and most beneficial part of XDC, the time spent with other users – networking, troubleshooting and building relationships. If you want to meet the Xojo Team and community members, attend some great sessions, network, collaborate, have fun and enjoy Nashville, please join us at the Xojo Developer Retreat.
Comments closedThe Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970. You’ve probably seen this around in some form or another, but I ran across it again recently and thought it would be fun to implement in Xojo.
Comments closedThe WebImageViewer control allow us to load and display any image retrieved from a given URL. Wouldn’t be nice to have that same kind of functionality in the Desktop and iOS versions of the ImageViewer? Continue reading and I’ll show you how to achieve just that.
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 closed