pdf_add_launchlink($pdf, 300, 300, 325, 325, "http://www.google.co.uk");
The numbers plot a shape on the page. The first two plot the lower left corner and the next pair plot the upper right hand corner. Links can also be made to the local filesystem.
PDF_add_launchlink
(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0)
PDF_add_launchlink — Fügt eine Webverknüpfung auf der aktuellen Seite ein [veraltet, nicht empfohlen]
Beschreibung
bool PDF_add_launchlink
( resource
$pdfdoc
, float $llx
, float $lly
, float $urx
, float $ury
, string $filename
)Fügt eine Verknüpfung auf eine Web-Ressource hinzu.
Diese Funktion ist seit PDFlib Version 6 veraltet, verwenden Sie stattdessen
die Funktion PDF_create_action() mit dem Parameter
type=Launch oder die Funktion
PDF_create_annotation() mit dem Parameter
type=Link.
rhys at NOSPAM dot rhysmeister dot com ¶
8 years ago
