Free Support Forum - aspose.com

AutoFiller Class Performance

I found the AutoFiller class to be much faster than calling Form.FillField( ) a million times, though populating multiple PDF forms is still very slow. Let’s say I want to fill 100 forms with 100 fields each. The AutoFiller class is 3x faster than FillField( ) but it still takes too long to generate the merged output.

Your sample runs very fast but it only has 5 forms with 5 fields each. Any thoughts?

Dear cohenn,

“fill 100 forms with 100 fields each”, The performance really is a key problem.
Could you send me your template pdf and your code of both using AutoFiller and Form.FillField( )? I will analyze it and give you more advices. This is my email ken.du@aspose.com .

Best regards.

AutoFiller is really implemented with Form.FillField(). Why Does their performance have so much gap, it is an interesting question too.

My company has decided to put merged PDF output on hold (not because of the performance issue). I’ve commented the code out for now and we may pick it up in the future. Before I bring this topic up again, I’ll make sure to download the latest version of Pdf.Form.

Thanks.

Dear cohenn,

Ok, any more question is welcome.

Best regards.