Automatic Table of content generation results in timeout for large files

Hi,
I am facing following issue with aspose.word.
The automatic table of content generation results in timeout for large files. Could you please let me know if this issue is resolved in latest version of Aspose.Word.
Thanks,
MK

Hello
Thanks for your request. MS Word document is flow document and does not contain any information about its layout into lines and pages. Our Rendering Engine layouts documents into lines and pages.
When you call UpdateFields method, UpdatePageLayout method is internally calling to build page layout. This is needed to update page numbers inside TOC.
Aspose.Words builds approximately 10 pages layouts per second. So you can approximately calculate how much time it will take to layout your document.
Best regards,

Thanks for the reply.Is there way to disable TOC generation in word document,so that i can reduce the processing time required.
Thanks,
MK

Hello
Thanks for your request. In this case just do not call UpdateFields method.
Best regards,