Free Support Forum -

Unable to create a tabel of content in ms word using & c#

Hi this is prasanth..

I am creating a ms word document using code behind c#. At the same time I am placing some data and merging two word documents but I am unable to create table of content in the word document …. Like index




Can u give me the idea how to create table of content..


Thank you for considering Aspose.

To insert a table of contents dynamically, use the DocumentBuilder.InsertTableOfContents method. Please note that you should manually update the TOC field after the creating.

Is that what you need? Feel free to post your further questions here.