Bookmarks

Informations

Author: Olivier
License: FPDF

Description

This extension adds bookmark support. The method to add a bookmark is:

Bookmark(string txt [, boolean isUTF8 [, int level [, float y]]])

txt: the bookmark title.
isUTF8: indicates if the title is encoded in ISO-8859-1 (false) or UTF-8 (true). Default value: false.
level: the bookmark level (0 is top level, 1 is just below, and so on). Default value: 0.
y: the y position of the bookmark destination in the current page. -1 means the current position. Default value: 0.