PDA

View Full Version : Issue combining documents


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?

Björn Meyer
August 22, 2007, 10:18:50
Hello

Thanks for your request.

Currently, the document is completely formatted when a document is appended to TX Text Control. It is planned to improve that in the next version of TX Text Control, so that appending documents (Selection.Load) causes TX Text Control not to reformat.

ealsmyr
August 31, 2007, 15:35:50
We have earlier concatinated PDF documents using the iTextSharp library. Maybe that can be used for this purpose in your solution.

ajohnston
August 31, 2007, 21:04:33
We are using another product to merge the documents and it does what we need it to do.