pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From howa...@tlcc.com
Subject question on getting location of bookmark
Date Thu, 01 Dec 2016 20:00:04 GMT
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);

thanks,

Howard
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message