Creating TOC after document mergin

Hi,

once I merged a few document into one bigger document, how can I create a table of content at the beginning (say page 2) ?

Thanks

The following article describes adding TOC to the document:

https://docs.aspose.com/words/net/programming-with-documents/

This article is also available in Aspose.Words offline documentation.

Best regards,

Thanks for the quick response!

Is there any way to update this field in aspose.word, so when I export it into PDF, the TOC is actually there?

Right now there is no way to update TOC from Aspose.Words. But we plan to add this possibility later together with some major upgrades of Aspose.Words engine.