PDFlib Cookbook

cookbook

Interactive Elements

acrobat_menu_itemsUpon opening the page, create a full list of all menu item names in Acrobat.
link_annotationsOn images and text lines, create links to open PDF files or Web pages, or to execute JavaScript.
markup_annotationsnewCreate various types of markup annotations directly and in a Textflow.
nested_bookmarksCreate bookmarks which are nested in several levels.
stamp_annotationnewCreate a stamp annotation which uses a template as normal icon.
starter_portfolioPackage multiple PDF and other documents into a PDF portfolio.
triggers_for_javascript_actionsDemonstrate all possibilities to trigger JavaScript actions (except form fields).