We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

detecte my table of content

how can I detect my TOC, no matter where it is at the beginning of the document, in a table, in a cell or other wtextbody?
it's possible to have the collection of  table content like wdocument.tablesofcontents.

1 Reply

MJ Mohanaselvam Jothi Syncfusion Team June 26, 2019 07:05 AM UTC

Hi AtliDev,

Thank you for contacting Syncfusion support.

To meet your requirement, we suggest you iterate through the document elements and get the table of contents in Word document. We have prepared the sample for the same and it can be download from the below link:

Please refer the below UG documentation link to know more about iterating through document elements using DocIO:

Please let us know if you have any other questions.

Mohanaselvam J

Live Chat Icon For mobile
Up arrow icon