Search code examples
c#pdfselectpdf

Removing Empty Pages in a PDF document using C#


I have a PDF file with more than 500 pages, but it has few empty pages with in the document in a random manner. Is there any possible way to remove these empty pages? The system which generates PDF, uses select PDF library (http://selectpdf.com/pdf-library-for-net/).


Solution

  • For remove pdf same page use PdfDocument class RemovePage or RemovePageAt methods.