Examples
Table of Contents
Simple
Following example simply imports a single page and displays it at x=10, y=10 and a width of 100 mm. Then it will simply add some more text on top of it:
Import a Whole Document
To import a whole document you need to iterate over all existing pages. The page count will be returned by the setSourceFile()
method:
Concatenate Several Documents
So concatenating imported pages of different documents is that easy, too:
Letterhead
Following demo shows you how to add a letterhead to every created page in an implemented Header()
method: