Click here to Skip to main content
16,021,687 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i'm designing a pdf using C1Report Designer2.5 and giving the input through rich text editor.

what i'm typing in that rich text editor will be generated as pdf file. The text typed in editor is in html tags so my pdf file is taking html tags as text and displaying it.

So it is not exactly what i typed. How to get exactly what i typed in.

I google it but i don't get what i'm exactly looking for.

Please help me.
Posted
Updated 27-Jul-12 0:52am
v2

You have to use some sort of pdf-library. I have used iTextSharp and PdfSharp (both open source) but none of these is doing what you ask for. Actually I've never seen a pdf library which converts html to pdf with a perfect result. The best pdf-components are quite expensive.

This is the best answer I can give you. I hope someone can give you a hint for a perfect html to pdf library, but I doubt it..
 
Share this answer
 
Comments
Agustee 27-Jul-12 2:54am    
Thanq for your response.
I tried iTextSharp too but as you said its not doing that
Have a look at this demo to see how to convert html to pdf in C# and VB.NET [^] while preserving values filled in the HTML form and the values stored in the ASP.NET session variables
 
Share this answer
 
v2
Comments
Agustee 27-Jul-12 6:46am    
thanq so much nice link

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