PDFlib Cookbook


General Programming

aes256_unicode_passwordCreate AES-256-encrypted document with a master password containing Unicode characters.
error_handlingDemonstrate different strategies with respect to exception handling.
initial_viewDefine the initial viewing properties for a document, such as zoom, page number, navigation tab, or title bar.
license_keyApply the PDFlib license key using various methods to get rid of the demo stamp.
metric_topdown_coordinatesOutput text using metric coordinates in a topdown coordinate system.
permission_settingsChange the permission settings so that only commenting the PDF is allowed.
repeated_contentsCreate contents which are used identically on multiple pages, such as fixed headers or footers.
starter_basicCreate simple text, vector graphics and image output.
starter_pvfCreate a PVF file which holds an image or PDF and import the data from the PVF file.