Document.UpdateFields does not update toc field using C#

Hello,

The attached document is having some problems generating correctly using Aspose. The whole document was actually generated with Aspose initially but the TOC doesn't generate the same as if I were to hit F9 and then update the whole table. Please suggest what could be wrong.

I tried doing the following to see if a second update will fix the issue but still doesn't work.

Document tocTEST = new Document(DocName)

tocTEST.UpdateFields();

I am currently using version 10.5

Hi Daniel,

Thanks for your query. I have not found any issue with shared document while using latest version of Aspose.Words for .NET. Please use the latest version. Let us know, If you have any more queries.