ajohnston
August 22, 2007, 02:50:39
Hello I'm using TX Text Control 13.0.NET.
My customer has asked me to merge many documents and combine them into a single pdf. For a small number of one page documents (less than 40), performance is what I would call acceptable. But for example I am trying to merge 800 one page documents and combine them one at a time using txctl.Selection.Load and it took over an hour. While breakpointing, at page 600 it took over 30 seconds to append the next page using Selection.Load(). I have been told that I may have to combine several thousand documents in the future. Using this method isn't going to work.
For comparison I was able to load a single 800 page document and it loaded very fast. I don't understand why using Selection.Load is so slow.
Is that the only way to combine documents?
My customer has asked me to merge many documents and combine them into a single pdf. For a small number of one page documents (less than 40), performance is what I would call acceptable. But for example I am trying to merge 800 one page documents and combine them one at a time using txctl.Selection.Load and it took over an hour. While breakpointing, at page 600 it took over 30 seconds to append the next page using Selection.Load(). I have been told that I may have to combine several thousand documents in the future. Using this method isn't going to work.
For comparison I was able to load a single 800 page document and it loaded very fast. I don't understand why using Selection.Load is so slow.
Is that the only way to combine documents?