How To do aTable of Content

Hi Aspose Team

Im tryin to do an example that contenints a table of content.
the class DocumentBuilder has a methos call builder.insertTableOfContents(String x);
but i need a example how to use that method if somebidy knows please help me

thanks in advance

Please check the following article in Aspose.Words Programmer’s Guide:

Building Documents Dynamically | Inserting Document Elements | Inserting a Table of Contents

This article is also available online on:

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