Am 01.12.2016 um 21:12 schrieb
thanks, can you elaborate? The API doc for getDestination shows that
returns PDDestination and I don't see any methods that return the

There are 7 derived classes. That's why I mentioned that there are several types. For example, PDPageXYZDestination has a getLeft() and getTop() method. But not all of the derived classes have coordinates like that.


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

From:   Tilman Hausherr <>
Date:   12/01/2016 03:03 PM
Subject:        Re: question on getting location of bookmark

Am 01.12.2016 um 21:00 schrieb
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
one I need with getTitle....
PDOutlineItem current = outline.getFirstChild();

But, how would I use PDOutlineItem to get the page/location to pass as
x,y coordinates in contentStream.drawImage(img, 100, 100);
call getDestnation(). There are several types, and some of them have

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to