Click here to Skip to main content
14,937,959 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello friends,

I know how to create a simple document single line on PDF, but this time its big.

Imagine a document like below with some static text and blank are to be filled dynamically and this whole document should be in exported in PDF.

How can I do this?

Please help in doing so.

This is ______. How can I convert ____ ?


Now if I write codeproject with some textbox and it show come to first blank and same for 2nd. So guy help out.
Posted
Updated 23-Feb-11 22:09pm
v2
Comments
Dalek Dave 24-Feb-11 4:09am
   
Edited for Grammar and Readability.

Yes you can do it. There are many free tools available that convert html to pdf. Like iTextSharp, PDfSharp , xHTMLToPdf and many more.

As my experience for your requirement iTextSharp is best for that. Search on that. There are lost of example and code available on net for that.
   
Comments
Vineet_2109 24-Feb-11 3:27am
   
I already done for small line in pdf. But this is large document with predefined format.
See here[^].
   
Don't reinvent the wheel.

There are many free PDF programs out there, google and choose.
It is much easier to download one these than to write from scratch what will be used in a limited manner.

Sometimes laziness is king :)
   
Comments
Vineet_2109 24-Feb-11 4:14am
   
hahaha...thats true...But i do have PDF format and i want to read that pdf with ______ content and then write my content from database.... i hope my question is clear....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900