©
本文档使用
php.cn手册 发布
(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0)
PDF_add_launchlink — Add launch annotation for current page [deprecated]
$pdfdoc
, float $llx
, float $lly
, float $urx
, float $ury
, string $filename
)Adds a link to a web resource.
This function is deprecated since PDFlib version 6,
use PDF_create_action() with
type=Launch
and
PDF_create_annotation() with
type=Link
instead.
[#1] rhys at NOSPAM dot rhysmeister dot com [2004-07-19 17:24:56]
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.