printing a populated form
-
I am creating a windows application from a pdf. Actually I am bringing a pdf document into a windows form as a background image and adding controls to be able to populate the form from a database. My goal is to be able to print a copy of the populated form and then save it as a pdf. Does anyone have an idea on how I can do this. Print the form or save as a pdf. Thanks in advance!
-
I am creating a windows application from a pdf. Actually I am bringing a pdf document into a windows form as a background image and adding controls to be able to populate the form from a database. My goal is to be able to print a copy of the populated form and then save it as a pdf. Does anyone have an idea on how I can do this. Print the form or save as a pdf. Thanks in advance!
Printing the form isn't to difficult, you could use the same technique. Create an image of the pdf and place the data using Graphics.DrawString. Saving it as pdf is the tricky part. There are plenty of tools out there to assist with, check here for a start http://www.codeproject.com/showcase/TallComponents.asp[^] http://www.codeproject.com/dotnet/PdfLibrary.asp[^]
only two letters away from being an asset