We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Page numbering and Table of Contents

We need to have a document that has a cover page, table of contents page, information page and then the main document pages. The cover page, toc page and information page should not have page numbers and the main document should start at page 1.

I have been able to number the pages correctly using a PageNumberStamp that starts at -2 and applying it to all pages apart from the 3 I don’t want numbered.

The problem that I am getting is that the table of contents then shows the main document as starting at page 4 instead of 1. How do I control the page numbers for the TOC?

Thanks
Steve

@SteveHawes

Would you kindly share a sample console application which contains complete code snippet that you are using along with sample PDF documents. We will test the scenario in our environment and address it accordingly.