Free Support Forum -

Page Numbering without cover page


We are rendering PDF with the help of Aspose Library in .NET environment.
We have top cover page and then data. We are using page numbering in header. Issue is we need to ignore first cover page in page numbering total count as well as in start count.

Please review the provided details and let us know any solution to resolve the issue.
if any other details needed, please do ask.



Thanks for contacting support.

You can extract first page of the PDF and create separate PDF document without the cover page and apply page number over it. Later, you can re-merge cover page with numbered pages and save as new PDF. Please check following articles which may help you achieving the requirement:

In case you find any issue while achieving what you require, please share a sample PDF document along with sample code snippet you are using to add page numbers. We will test the scenario in our environment and address it accordingly.

Hi Asad,
Thank you for the response.
the proposed solution is not working for me as the pdf generates actual page numbering on call and we are using delegate “OnPageGenerate” to set the header.
We can use our manual page numbering as well but we will not be able to get the total page count before save() call. hope you got my point.



You may call ProcessParagraphs() method of Document object. This way you will get correct page count of PDF before document is saved. In case you still face any issue, please share your sample code snippet along with sample PDF document, so that we can test the scenario in our environment and address it accordingly.


This solution works fine but it is taking double time as “ProcessParagraphs()” takes time first and then “Save()”. Due to this we are facing performance issue.
Please if you can provide a better solution whihch has no performance impact.


We are afraid performance overhead will occur in this case. However, kindly share SSCCE code along with sample document so that we may log a performance enhancement ticket to check improvment possibilities.

The dev will share the code and example with you. Meanwhile I have a quick question; on paid support do Aspose only resolve issues/bugs or will you address feature requests as well?


Please take all the time you need and get back to us as per your convenience. Paid Support includes bug fixes as well as feature requests.