add a link to a pdf file with "pdf_add_pdflink"

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
odnetdesign
Forum Newbie
Posts: 1
Joined: Mon Oct 04, 2004 9:14 am
Location: Switzerland

add a link to a pdf file with "pdf_add_pdflink"

Post by odnetdesign »

Thanks to explain me how work this function, and the explains of the parameters:

- int docpdf
- float llx
- float lly
- float urx
- float ury
- string name_file
- int page
- string destination

and an example of script that uses this function.

Thank's
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

[php_man]pdf_add_pdflink[/php_man] wrote: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)
  • pdfdoc the pdf document resource
  • bottom_left_x, bottom_left_y, up_right_x, up_right_y the rectangle you want this link to occupy.
  • filename the filename you want to link to
  • page the page you want it inserted on
  • dest I have no idea
Post Reply