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

Free Support Forum - aspose.com

Incorrect page numbers on TOC when the TOC goes on 2 pages


I am trying to add a TOC to a PDF using the example above. In certain cases (i.e. when there are more than 10 docs added to the master PDF) the TOC can spill on 2 or more pages. In that case the page numbers on the TOC (i.e. First document … 2) are incorrect. The link works correctly, but the number is incorrect. If the TOC is 2 pages long the first document starts on page 3 (not 2).

Attached is my code.

What can I do to correct?


Hi Zadravko,

Thanks for your inquiry. We have already noticed the issue and logged it as PDFNEWNET-37774 in our issue tracking system. We have linked your post the issue id as well and will notify you as soon as it is resolved.

We are sorry for the inconvenience caused.

Best Regards,

The issues you have found earlier (filed as PDFNEWNET-37774) have been fixed in Aspose.Pdf for .NET 9.9.0.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.