Hi Yuri,
For this point
As the special structure of Word document itself, we have to do this. Assuming that you need to convert the second page or some other pages, how do we determine the content of the specified page if we don't compute the entire document or isolate each page’s content?
It seems to have caused some misunderstanding for you, I am sorry for that. I mean, because of Word document is flow structure without page structure, when performing the conversion, we have to need to calculate the content of entire document and isolate the content of each page, and then put each page's content as an object in memory.
Just like when you open a Word document with MS Word tool, MS Word will also calculate the entire document's content and do paging so that we can see the content of each page.
For "You cannot convert second page of a document which is disposed" your said, this is absolutely true. We certainly can't use a document which is disposed to do the conversion or other document operations.
I did several tests with your sample.docx. Memory always stays at about 69MB. Attached my test result and test code.
In addition, a 64-bit application which needs to be set its target platform as x64.
My test environment is Windows Server 2016 64bit RAM:4G and Visual Studio Enterprise 2019 v16.4.2. I used Spire dlls from Spire.Office 5.7.3,
https://www.e-iceblue.com/downloads/hot ... _5.7.3.zip.
Cloud you please tell me your environment?
Sincerely,
Amy
E-iceblue support team
Login to view the files attached to this post.