thanks, can you elaborate? The API doc for getDestination shows that returns PDDestination and I don't see any methods that return the coordinates?
Howard Howard Greenberg, CPA, CISA IBM Certified Application Developer/Instructor - IBM Notes and Domino The Learning Continuum Company, Ltd. 888-241-8522 or 561-953-0096 http://www.tlcc.com mailto:howa...@tlcc.com From: Tilman Hausherr <thaush...@t-online.de> To: users@pdfbox.apache.org Date: 12/01/2016 03:03 PM Subject: Re: question on getting location of bookmark Am 01.12.2016 um 21:00 schrieb howa...@tlcc.com: > I want to find the x,y position of a bookmark in the pdf to be able to > insert an image at that location. > > I can get the bookmark with the code below and looping through to find the > one I need with getTitle.... > PDOutlineItem current = outline.getFirstChild(); > > But, how would I use PDOutlineItem to get the page/location to pass as the > x,y coordinates in contentStream.drawImage(img, 100, 100); call getDestnation(). There are several types, and some of them have coordinates. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org