Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview

Buy Now

Issue 20.5 ('Xojo Workflows')
Instant purchase and download via GumRoad!


Encrypting PDFs

Using Xojo's new PDF Encryption Options

Issue: 20.5 (September/October 2022)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 8,012
Starting Page Number: 63
Article Number: 20507
Resource File(s):

Download Icon project-20507.zip Updated: 2022-08-31 23:28:36

Related Link(s): None

Excerpt of article text...

Are you sick of me writing about PDFs yet? Personally, I love PDFs and I love the pace of improvements Xojo is making to their PDF classes. It seems like every new release of Xojo adds cool new PDF abilities.

Being able to generate PDFs within your own apps is a really good feature, so the more capabilities Xojo adds in that regard is terrific. If your app deals with potentially sensitive information (say it's an accounting app dealing with finances), being able to create encrypted PDFs will save your users an extra step of having to encrypt it separately.

Fortunately, supporting PDF encryption is really easy. You simply take an existing PDFdocument object (pdf) and assign a PDFPermissions object ("permissions") to it:

pdf.permissions = permissions

...End of Excerpt. Please purchase the magazine to read the full article.