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

Free Support Forum - aspose.com

Aspose PDF - Adding TOC and start from the first page in original file

Using .NET library, I’m trying to add TOC on a pdf document. The issue in :

    var tocPage = doc.Pages.Insert(1);

The TOC Page becomes a part of my pdf file so the first page will be the TOC not my first page in the original pdf file. my requirement is to start from page#1. is this doable ?

see the attachment for more.

image.png (9.3 KB)

@Mghanem91

Would you please share the complete sample code snippet that you are using to add the TOC? We will test the scenario in our environment and address it accordingly.