Our application generates a Word document using Syncfusion\'s DocIO libs. Basically, we load a template and insert into it specific texts in specific bookma
Try this
Document wordDocument; Microsoft.Office.Interop.Word.Application word = new Microsoft.Office.Interop.Word.Application(); wordDocument = word.Documents.Open(saveFileDialog.FileName); wordDocument.TablesOfContents[1].Update(); wordDocument.Save(); word.Quit();