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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

detecte my table of content

Thread ID:

Created:

Updated:

Platform:

Replies:

145486 Jun 25,2019 07:34 AM UTC Jun 26,2019 07:05 AM UTC WinForms 1
loading
Tags: DocIO
AtliDev
Asked On June 25, 2019 07:34 AM UTC

Hello,
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.
thanks

Mohanaselvam  Jothi [Syncfusion]
Replied On 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:
https://www.syncfusion.com/downloads/support/forum/145486/ze/Sample_application539412361

Please refer the below UG documentation link to know more about iterating through document elements using DocIO:
https://help.syncfusion.com/file-formats/docio/working-with-word-document#iterating-through-document-elements

Please let us know if you have any other questions.

Regards,
Mohanaselvam J
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon