PDFlib Cookbook

cookbook

General Programming

aes256_unicode_password updated Create AES-256-encrypted document with a master password containing Unicode characters.
data_from_memory Create a PVF file which holds an image or PDF and import the data from the PVF file.
error_handling Demonstrate different strategies with respect to exception handling.
initial_view Define the initial viewing properties for a document, such as zoom, page number, navigation tab, or title bar.
license_key Apply the PDFlib license key using various methods to get rid of the demo stamp.
metric_topdown_coordinates Output text using metric coordinates in a topdown coordinate system.
permission_settings Change the permission settings so that only commenting the PDF is allowed.
repeated_contents Create contents which are used identically on multiple pages, such as fixed headers or footers.
starter_basic Create simple text, vector graphics and image output.