Is there a way we can delete the first page of the PDF using iTextSharp?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s no direct way to remove pages from a PDF using iTextSharp.
However, you can copy all the pages you want from a PDF and skip the pages you don’t want. In your case you’d copy out all but the first page.
I wrote a method that does this based on the code I found on this blog entry.