I am using Aspose.Words 6.1.0 evaluation version for testing the product weather it would useful in my project or not. I am opening a Template document using Document class and adding some content to templates document.
Template document contains TOC field. I added some data to template document with some different heading styles and finally i saved the document.
when i am opening the saved file, document is not able to updating TOC field, but when i am pressing F9 on the TOC field, then i am able to see Table of Contents in the saved document Is there any feature is availbale to update TOC field before saving the document?
I written the code like,
Document docTemp = new Document(@"D:\Test\templates\Document.dot");
//Added some text to docTemp with different heading styles.
If it woud be done, then the product really reaches my project requirement. Any suggestions/sample code would really be appreciated...