This works great. I write an image to the PDF and then use setRectangle for 
PDAnnotationLink with coordinates that outline the image and the image 
basically becomes a button. Thank you.

-----Original Message-----
From: Tilman Hausherr [mailto:[email protected]] 
Sent: Wednesday, January 06, 2016 12:51 PM
To: [email protected]
Subject: Re: Adding a link to a PDF

Am 06.01.2016 um 15:52 schrieb Staley, Stephen:
> Hello,
> I'm new to using the PDFBox API. Is it  possible place a link to a web site 
> in a PDF you create using this API? For example, could you create a button 
> that when clicked opens a web browser to a specified URL. If so, which 
> package should I begin looking at to accomplish this?
>
> Thanks,
> Stephen
>

Have a look at the AddAnnotations.java example. There, search for the segment 
with  PDAnnotationLink

Tilman

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to