I have a requirement where I need to write my asp.net page information into pdf file with the css styles(inline/style sheet file). While creating pdf we have to make the textboxes to labels with textbox like border and similar for dropdowns, checkboxes. Can you please help us on how to proceed?
Asked
Active
Viewed 787 times
0
-
HTML to PDF using iTextSharp. – Sudipta Kumar Maiti Dec 08 '15 at 12:41
-
http://stackoverflow.com/questions/25164257/how-to-convert-html-to-pdf-using-itextsharp – Sudipta Kumar Maiti Dec 08 '15 at 12:43
-
Sudipta, I have been trying iTextSharp. I stuck at the textbox/checkbox controls, i.e. not writing the textboxes to pdf file. Do you have any idea how to implement as I said above? – Surya Dec 08 '15 at 12:45
-
What did you try? Try to replace textbox with label. – Sudipta Kumar Maiti Dec 08 '15 at 17:28
1 Answers
0
Try DynamicPDF Converter for .NET, it is not a free tool but it can convert several different file types including HTML to PDF. It uses Internet Explorer (IE) to render the HTML and convert that to PDF. The formatting and styles of the resulting PDF will look similar to how your HTML is displayed in the IE’s print preview.
Disclaimer: I work for ceTe Software, the company that develops DynamicPDF libraries.

DynamicPDF
- 135
- 5