• « PDF_add_outline
  • PDF_add_table_cell »
  • PHP 4 Manual
  • PDF Functions
  • Add file link annotation for current page [deprecated]
Edit Report a Bug GitHub logo

PDF_add_pdflink

(PHP 4, PECL pdflib >= 1.0.0)

PDF_add_pdflink — Add file link annotation for current page [deprecated]

Description

bool PDF_add_pdflink ( resource $pdfdoc , float $bottom_left_x , float $bottom_left_y , float $up_right_x , float $up_right_y , string $filename , int $page , string $dest )

Add a file link annotation to a PDF target. Returns TRUE on success or FALSE on failure.

This function is deprecated since PDFlib version 6, use PDF_create_action() with type=GoToR and PDF_create_annotation() with type=Link instead.

  • Other versions of this page
    • PHP 4
    • PHP 5
Legacy manuals maintained by Home
  • Get help migrating a legacy app
  • Extend PHP support for EOL versions