PHP - Manual: PDF_add_pdflink
2024-11-15
(PHP 4, PECL pdflib >= 1.0.0)
PDF_add_pdflink — Add file link annotation for current page [deprecated]
$pdfdoc
, float $bottom_left_x
, float $bottom_left_y
, float $up_right_x
, float $up_right_y
, string $filename
, int $page
, string $dest
) : bool
Add a file link annotation to a PDF target.
成功时返回 TRUE
, 或者在失败时返回 FALSE
。
This function is deprecated since PDFlib version 6, use
PDF_create_action() with
type=GoToR
and
PDF_create_annotation() with
type=Link
instead.
官方地址:https://www.php.net/manual/en/function.pdf-add-pdflink.php