Create and Manipulate Table of Contents in Word Document in C#

Table of Contents (TOC) in a Word document gives you an overview of what a document contains. Furthermore, it lets you navigate to a particular section of the document. In this article, you will learn how to work with a table of contents in Word documents programmatically using C#. Particularly, this article covers how to add, extract, update or remove a table of contents in Word documents.
March 2, 2021 · 4 min · Usman Aziz