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 — 現在のページに起動用注記を追加する [古い関数]
説明
bool PDF_add_launchlink
( resource
$pdfdoc
, float $llx
, float $lly
, float $urx
, float $ury
, string $filename
)web リソースへのリンクを追加します。
この関数は PDFlib バージョン 6 で廃止されました。かわりに
type=Launch として PDF_create_action()、そして
type=Link として PDF_create_annotation()
を使用してください。
rhys at NOSPAM dot rhysmeister dot com ¶
8 years ago
