PDF_add_pdflink

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

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

说明

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. 如果成功则返回 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.