We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Overload UpdatePageLayout() to take int pageLimit

We are in the process of buying a licence for Aspose.Total. I am writing some test applications using Aspose.Words and the performance of Document.PageCount is horrible. I determined it’s because of UpdatePageLayout() which appears to render the entire document. In my scenario, I only read documents and at most, I might just want the first 3 pages. Everything rendered past that is a waste because I simply don’t care about it. Would it be possible to add an overload for that method to limit how many pages it processes?


Thanks for your inquiry. Please ZIP and attach your input Word document here for testing. We will investigate the issue on our side and provide you more information.