artist has asked for the wisdom of the Perl Monks concerning the following question:
I am using PDF::API2 to create pdf documents.
I like to know, how to convert text into hyperlinks in pdf file. I came across PDF::API2::Annotation, but not sure how to use that. Also sometime, my text is larger than single line, which I like to hyperlink too.
The idea behind an annotation object is to create a rectangle that is a 'hot zone' that turns the mouse pointer into a 'clickable finger' when hovering over it.
Hope this example (from the author of PDF::API2) will help you in creating hyper links. BTW, you can create links to URL's and to other pages in the PDF document.