Thursday, September 23, 2010

Populating Data to PDF Forms for Better Prints

There are often situations, when your client wants series of Print out of form with data populated dynamically. These forms are designed Official and follows a legal format. In designing, the issue which frustrates designers a lot is uneven layout in different Browsers. Same issue occurs when we want to print from a Web Page (CSS for Print) or Document (Office Word). Luckily, for that purpose we have a perfect solution, and that is PDF (Portable Document Format). PDF Format always prints same on paper as we see on the screen (like WYSIWYG). The scope of this article is to show how to utilize “iTextSharp” Tool to insert data into the fields of a PDF File. I will try to demonstrate all the necessary controls that are used in forms.