We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

PDF Form Filling

Thread ID:

Created:

Updated:

Platform:

Replies:

95516 Jul 14,2010 12:01 PM Jul 19,2010 05:57 AM Windows Forms 1
loading
Tags: PDF
Adam Snider
Asked On July 14, 2010 12:01 PM

I am trying to fill out a PDF form using the PDFLoadedDocument object. When I run the code, it all works great, but the pdf document I originally open (to fill out) can no longer be accessed because it says it is in use - as long as my code is running. Once I shut down the code (program), I can access the original pdf.

So it seems that I am not propertly disposing of the object. I am doing loadedDoc.close and loadedDoc.Dispose, but that doesn't seem to release the original PDF. Do you know how I can accomplish this?

Also, when I do a form fill, it flattens the pdf document, such that I can no longer edit the pdf form fields if I open it in Adobe Reader. I have loadedDoc.Form.Flatten = False, but it still flattens it. Any ideas?

I am using Adobe Reader 9.3.3.
Visual Studio 2005, Windows XP.
Syncfusion ver 7.202.0.37

Thanks,
Adam

Angappan G [Syncfusion]
Replied On July 19, 2010 05:57 AM

Hi Adam,

Thank you for your interest in Essential Studio.

We can completely dispose the objects used by the PdfLoadedDocument class by using the "PdfLoadedDocument.Close(bool completely)" method. The "Close()" dispose only the common objects. Please refer the sample for more details.

Sample Link:
http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=955161515601067.zip

Flatten Issue:
We are unable to reproduce the issue on our side, could you please provide us the template document in which you are facing the issue.


Please let us know if you have any queries.

Regards,
Angappan.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;