> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Neil Darroch > Sent: Sunday, December 05, 2004 11:42 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] localDestination & localGoto > > > I am using the following code to set a local > destination at a specific point on a page of a > document I create: > > cb.setTextMatrix(numleft, numtop); > cb.localDestination(id, new > PdfDestination(PdfDestination.FITH,0)); > > I put several of these on a page to mark specific > points within the 'text'. > > For another page I use the following to set a link to > one (or more) of the previously made destinations > > cb.localGoto(id, numleft, numtop, numleft + numwidth, > numtop + numheight); > > where cb is PdfContentByte. > > My problem is that the created links don't appear to > go to the intended destinations. Instead they link to > the page on which the localdestination is created.
What page number would you expect? ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
