• « PDF_add_launchlink
  • PDF_add_nameddest »
  • PHP Manual
  • PDF 函数
  • Add link annotation for current page [deprecated]

PDF_add_locallink

(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0)

PDF_add_locallink — Add link annotation for current page [deprecated]

说明

PDF_add_locallink ( resource $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.