pdf_add_pdflink

(PHP 3 >= 3.0.12, PHP 4, PECL)

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.