Article Preview
Buy Now
COLUMN
Watermarking
Using MBS and DynaPDF to watermark your PDFs
Issue: 24.1 (January/February 2026)
Author: Stefanie Juchmes-Simonis
Author Bio: Stefanie studied computer science at the university in Bonn. She came in touch with Xojo due to the work of her brother-in-law and got a junior developer position in early 2019 at Monkeybread Software.
Article Description: No description available.
Article Length (in bytes): 11,434
Starting Page Number: 79
Article Number: 24109
Resource File(s):
project24109.zip Updated: 2026-01-04 19:21:35
Related Link(s): None
Excerpt of article text...
Today's column is about watermarks in PDF files. You may want to provide your customers with a PDF file, but you want to make it clear that the file comes from you and make it difficult for them to pass it on. This could be text or an image that you place over the PDF document (see Figure 1).
I'll show you how this works. What we need for this is DynaPDF. DynaPDF is a PDF engine that is used by the MBS DynaPDF plugin for Xojo.
Getting Started
So, we want to place an image and text as a watermark over a PDF. To do this, we first need to create a new instance of the
DynaPDFMBSclass. This class contains all the functionalities we need today. We can use it to load our PDF right away.But first, we need to specify which PDF is to be imported and where it is to be saved again once we have finished our work. In this example, I have decided that the files should be located on the desktop, so we create two
FolderItems,InputFileandOutputFile, which refer to the corresponding files on the desktop.
...End of Excerpt. Please purchase the magazine to read the full article.







