Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. My requirement is same as described in this question: Bookmark to specific page using iTextSharp 4.
How to merge PDFs and add bookmarks?
Bookmarks are discussed in Chapter 7 where you'll find the BookmarkedTimeTable example. As you're working with iTextSharp C , not iText Java , you'll want to look up the corresponding example in the list of examples ported to C , more specifically BookmarkedTimeTable.
Please start with the example from my book, and then change that example gradually until you break that code. When a PDF is digitally signed, there is a limited number of operations that may or may not be allowed. See Which operations are allowed on a digitally signed PDF?
Adding bookmarks is not an allowed operation, so you'll have to remove all signature fields before applying the change.
Depending on whether or not you want to keep the empty signature field or completely remove the field, you'll use either the method clearSignatureField or removeField passing the name of a signature field as parameter. Learn more. Asked 6 years ago.
About page thumbnails
Active 1 year, 5 months ago. Viewed 8k times. The line that gave error is, in the Answer 1 of above link wri. Please consult the official documentation.
Adding bookmarks for existing pdf
Update based on extra comment: When a PDF is digitally signed, there is a limited number of operations that may or may not be allowed. Bruno Lowagie Bruno Lowagie Thank you for the help I modified my code with the help of BookmarkedTimeTable.
I managed to solve it with the help of your corresponding Java sample, Thanks a lot Please help me to resolve this NachiappanR You are hijacking a question dating from Do Not Do That! If you have a question, for instance, if you have tried what is explained in this post, and if it doesn't work, explain what you have tried in a new question and explain the problem you are experiencing.
Saying "I am also looking for the same thing" in a comment, usually doesn't result in an answer. It only annoys people, especially since you can find all the C examples at the bottom of this page.
How to add bookmarks in pdf using itext
I see the question. It's as if you didn't even read the documentation.
That's probably why no one cared to answer that question. You have a whole team and no one did an effort visiting the official iText web site.
Page thumbnails and bookmarks in PDFs
Clint Clint 1 1 1 bronze badge. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.
Post as a guest Name. Email Required, but never shown.
How to create micro-interactions with react-spring: Part 1. This week, StackOverflowKnows syntactic sugar, overfit or nah, and the…. Featured on Meta. Thank you, Shog9.
Creating Bookmarks in PDF
Thank you, Robert Cartaino. Has Stack Exchange rescinded moderator access to the featured tag on Meta? How do the moderator resignations affect me and the community?
Add Image in PDF Using iText in Java