PDF_add_launchlink()
(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0)
Add launch annotation for current page[deprecated]
说明
PDF_add_launchlink(resource $pdfdoc,float $llx,float $lly,float $urx,float $ury,string $filename): bool
Adds a link to a web resource.
This function is deprecated since PDFlib version 6, use PDF_create_action() withtype=Launch
and PDF_create_annotation() withtype=Link
instead.
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.