Asa
Rookie

How to fill dynamic pdf form from any data source?


I want to avoid the waste of time, money and other resources to create electronic forms and want to submit it electronically for all employees of my office. I want to produce dynamic PDF reports from database data rather than printing, so I am thinking of doing it by using activePDF toolkit. So tell me how to fill dynamic pdf form from any data source?
6 months ago
Respond to this discussion
Reginald Cooper | Dec 6 2011

Type the document document1 = new Document(PageSize.A4.Rotate()) to below the previously entered type of code. This initiates a total PDF file and then just assigns it to the document variable. Type the PdfWriter.GetInstance type of document, new FileStream in myPDF.pdf, FileMode.Create after your previously entered text. This line of code causes the application to just create the actual PDF file which is using hard drive space. Type document to just close() after your previously entered code. This line of code is ensures the PDF file is just ended properly, and then prevents many type of coding errors.

© 2012, Instamedia. Some rights reserved. Powered by Instapress and Instacheckin.