Here is a note i feel important for newbies
$url = PDF_create_action($p, "URI", "url=http://www.pdflib.com");
PDF_create_annotation ($p, 44, 100, 55,700, "Link", "linewidth=0 action {activate $url}");
Above 2 lines will change the hand
cursor once your cursor is in the rectangle as assigned by the
create_annotation command. Once you click in that area, it will
bring you to the url in create_action command.
PDF_create_action
(PECL pdflib >= 2.0.0)
PDF_create_action — Erzeugt Aktionen für Objekte und Events
Beschreibung
int PDF_create_action
( resource
$pdfdoc
, string $type
, string $optlist
)Erzeugt eine Aktion, die auf verschiedene Objekte und Events angewendet werden kann.
PDF_create_action
joshivs at gmail dot com
28-Apr-2006 12:59
28-Apr-2006 12:59