gabriele rosa wrote:
hi,
I have to create an annotated image.
Clicking on the image I must jump to a specific page INSIDE the current
document (that is, the file is not external).
It seems to me that the contructor of Annotation class do not allow this: do I
have to use a different class/method or I'm just missing something???
There are different ways to create local goto's.
Have you read these tutorial chapters?
http://itextdocs.lowagie.com/tutorial/objects/anchors/
http://itextdocs.lowagie.com/tutorial/objects/anchors/index.html#annotation
http://itextdocs.lowagie.com/tutorial/objects/bookmarks/index.html#destinations
http://itextdocs.lowagie.com/docs/com/lowagie/text/pdf/PdfAnnotation.html#PdfAnnotation(com.lowagie.text.pdf.PdfWriter,%20float,%20float,%20float,%20float,%20com.lowagie.text.pdf.PdfAction)
http://itextdocs.lowagie.com/docs/com/lowagie/text/pdf/PdfAction.html#gotoLocalPage(int,%20com.lowagie.text.pdf.PdfDestination,%20com.lowagie.text.pdf.PdfWriter)
br,
Bruno
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions