PHP - Manual: PDF_add_locallink
2024-11-14
(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0)
PDF_add_locallink — Add link annotation for current page [deprecated]
$pdfdoc
, float $lowerleftx
, float $lowerlefty
, float $upperrightx
, float $upperrighty
, int $page
, string $dest
) : bool
Add a link annotation to a target within the current PDF file.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
This function is deprecated since PDFlib version 6, use
PDF_create_action() with type=GoTo
and PDF_create_annotation() with
type=Link
instead.
官方地址:https://www.php.net/manual/en/function.pdf-add-locallink.php