PdfAnnotation.createLink(..., new PdfDestination(PdfDestination.XYZ, left, top, 0))
> -----Original Message----- > From: Neil Darroch [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 13, 2004 4:27 PM > To: Paulo Soares > Subject: RE: [iText-questions] Internal linking from Annotation? > > Thanks for the response Paulo. > Could someone give an example of how to use > PdfAnnotation with PdfAction and PdfDestination > please, I'm not entirely clear on how to use these. > > I found a way to do roughly what I wanted using > pdfContentByte.localDestination and > pdfContentByte.localGoTo but would like to use > annotation if possible. > > Is it possible to get the PdfDestination type that the > reader is currently set to? I would like to link > without changing the readers current viewing. > > Thanks, > > Neil. > > > --- Paulo Soares <[EMAIL PROTECTED]> wrote: > > Use PdfAnnotation with PdfAction and PdfDestination. > > > > Best Regards, > > Paulo Soares > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > > > [mailto:[EMAIL PROTECTED] > > On > > > Behalf Of Neil Darroch > > > Sent: Monday, October 11, 2004 3:07 PM > > > To: [EMAIL PROTECTED] > > > Subject: [iText-questions] Internal linking from > > Annotation? > > > > > > Hi, > > > > > > I Have copied a pdf page (using the method in > > Chapter > > > 13 of iText tutorial) and would like to add an > > > annotation that I can link to an internal point > > > (anchor?) in the page or other point in the final > > > document. I am working with a single page at > > present > > > to experiment but the finished product will > > > (hopefully) copy an entire pdf document and add > > > annotations with internal links. > > > > > > My question is how do I best achieve this? > > > > > > If I use something of the form > > > document.add(new Annotation(215f, 270f, 260f, > > 280f, > > > "#link1")); > > > the link is opened in a new window. I couldn't > > find a > > > way of getting internal linking to work using > > > annotations. Is it at all possible? > > > > > > Thanks. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ___________________________________________________________ALL > > > -NEW Yahoo! Messenger - all new features - even > > more fun! > > > http://uk.messenger.yahoo.com > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: IT Product > > Guide on > > > ITManagersJournal > > > Use IT products in your business? Tell us what you > > think of > > > them. Give us > > > Your Opinions, Get Free ThinkGeek Gift > > Certificates! Click to > > > find out more > > > > > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > > _______________________________________________ > > > iText-questions mailing list > > > [EMAIL PROTECTED] > > > > > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide > > on ITManagersJournal > > Use IT products in your business? Tell us what you > > think of them. Give us > > Your Opinions, Get Free ThinkGeek Gift Certificates! > > Click to find out more > > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > iText-questions mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > > > > > > ___________________________________________________________ALL > -NEW Yahoo! Messenger - all new features - even more fun! > http://uk.messenger.yahoo.com > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
