Use SimpleBookmark to get the bookmark tree. You'll just have to look for the bookmark name and the page number will be there too.
----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, October 21, 2005 6:01 PM Subject: [iText-questions] Removing page referenced by bookmark > Hi- > I'm updating a pre-existing PDF with multiple bookmarks. One of these > bookmarks, with a known name references a page I would like to remove. > From the documentation, it seems the easiest way to remove a page is to > create a PdfWriter and import only the pages I want to keep. My obstacle > is identifying which page is actually referenced by the bookmark so I know > not to import it. > > If I need to provide more details, please let me know, > Eric Friedrich > ------------------------------------- > Eric Friedrich > [EMAIL PROTECTED] > (203) 924-3144 > Co-op, Mixed Media and Networks > AC&T Pitney-Bowes > Shelton, CT > ------------------------------------- > ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
