Example of Table of Content in ASP.NET Core Word (DocIO) Library

This sample demonstrates how to insert and update the Table of Contents (TOC) in a Word document using Essential DocIO.
DEMO
SOURCE
Click the button to view the generated Word document or PDF. Please note that Microsoft Word Viewer or Microsoft Word is required to view the resultant Word document and PDF viewer is required to view the resultant PDF.
Save As :        
DocIO supports to insert Table of Contents based on custom and default heading styles, include page numbers, hyperlinks to easily navigate to specific topic or heading within the document, specify the outline levels.
  • You can draft books in Word document with table of contents that provides outline of the book like chapter, section titles, sub titles with its commencing page number.
  • You can update or rebuild the Table of Contents in an existing Word document.
More information about the Table of Contents can be found in this documentation section.
Transform your ASP.NET Core web apps today with Syncfusion ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE