Skip to content

Create, edit, and update (re-build) table of contents (TOC) in a Word document in C#, VB.NET without Microsoft Word or interop.

Notifications You must be signed in to change notification settings

SyncfusionExamples/Word-TOC-Examples

Repository files navigation

Word Table Of Contents examples

This repository contains examples related to Table Of Contents in Word Documents using the Syncfusion® .NET Word library (DocIO).

Key Features

  • Create and update TOC
  • Edit TOC
  • Remove TOC
  • Create TOC for custom styles
  • Change Tab leader of TOC
  • Customize TOC entries

Project pre-requisites

Make sure that you have the compatible versions of Visual Studio and .NET SDK version in your machine before starting to work on this project.

Syncfusion® .NET Word Library

The Syncfusion® DocIO is a .NET Word library allows you to add advanced Word document processing functionalities to any .NET application and does not require Microsoft Word application to be installed in the machine. It is a non-UI component that provides a full-fledged document instance model similar to the Microsoft Office COM libraries to iterate with the document elements explicitly and perform necessary manipulation.

Take a moment to peruse the documentation, where you can find basic Word document processing options along with the features like mail merge, merge, split and compare documents, find and replace text in the Word document, protect the Word documents, and most importantly, the PDF and Image conversions with code examples.

Compatible Microsoft Word Versions

  • Microsoft Word 97-2003
  • Microsoft Word 2007
  • Microsoft Word 2010
  • Microsoft Word 2013
  • Microsoft Word 2016
  • Microsoft Word 2019
  • Microsoft 365

Supported File Formats

How to run the examples

  • Download this project to a location in your disk.
  • Open the solution file using Visual Studio.
  • Rebuild the solution to install the required NuGet packages.
  • Run the application.

Resources

Support and feedback

License

This is a commercial product and requires a paid license for possession or use. Syncfusion's licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a license here or start a free 30-day trial here.

About

Create, edit, and update (re-build) table of contents (TOC) in a Word document in C#, VB.NET without Microsoft Word or interop.

Topics

Resources

Stars

Watchers

Forks

Languages