PDF Load Time

I am using a PDF document as a template to generate a document that has multiple copies of the the template.

The process currently is as follows...
----------------------------
1. I load the template PDf (myDoc = PDFDocument.Load("PDFFileName"))

2. I fill the form fields in myDoc (mydoc.Form.Fields.SetFieldValue("fieldname","value"))

3. I flatten the form (myDoc.Form.Flatten)

4. I Save the document (myDoc.save("newfilename"))

5. Steps 1-4 are completed for multiple, possibly hundreds of iterations. (based on records in a database)

6. All previously saved documents are merged together into one PDF.

-------------------------------------

The problem with this is that the PDFDocument.Load takes approx. 10 seconds each time.
This could be a major problem if we attempt to process a large amount of records. Typically we will need to process about 60 but on occasion will need to to process hundreds at a time.

I would reuse 'myDoc' but I am unable to because I have to flatten the form before it gets merged.

Is there a way for me to copy the base object each time rather than reloading the PDF template each time?



3 Replies

SK Sarath Kumar G Syncfusion Team March 30, 2007 07:57 PM UTC

Hi Jeremy,

Thank you for your interest in Syncfusion products.

Currently we are working on it to improve the performance of loading and filling the form. This issue is been taken care of our development team with special interest. The fix will be available in our next release which will be available so soon. Our next release will be having excellent performance in loading and filling the form. I can provide you with a patch file to resolve this issue. Can you please create a "Direct Trac" incident for me to provide you with the patch file.

Sorry for the inconvenience caused. Please let me know if you face any other issues.

Regards,
Sarath


JG Jeremy Giannosa March 30, 2007 08:29 PM UTC

Thank you for your quick response.
I will post the issue in Direct-Trac.

Jeremy

>Hi Jeremy,

Thank you for your interest in Syncfusion products.

Currently we are working on it to improve the performance of loading and filling the form. This issue is been taken care of our development team with special interest. The fix will be available in our next release which will be available so soon. Our next release will be having excellent performance in loading and filling the form. I can provide you with a patch file to resolve this issue. Can you please create a "Direct Trac" incident for me to provide you with the patch file.

Sorry for the inconvenience caused. Please let me know if you face any other issues.

Regards,
Sarath


SK Sarath Kumar G Syncfusion Team April 3, 2007 12:54 AM UTC

Hi Jeremy,

Thank you for creating Direct Trac incident. I will update the status in the incident for you.

Regards,
Sarath

Loader.
Up arrow icon