GigiJK wrote:
Hello,
Can anyone show me how to add a hyperlink image on the upper lefthand
corner of a pdf file using iText?
Create the image:
Image gif = Image.getInstance("../../chapter10/resources/iTextLogo.gif");
Add the hyperlink:
gif.setAnnotation(new Annotation(0, 0, 0, 0,
"http://www.lowagie.com/iText"));
Set the coordinates:
gif.setAbsolutePosition(30f, 750f);
Add the image:
document.add(gif);
br,
Bruno
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions