Click here to Skip to main content
15,918,976 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i use and i want to create pdf with iTextSharp. there is one richtextbox and i created pdf of its content. i wrote code for it and its working .but the problem arise when i set color in richtext box and still it produce pdf with balck forecolor.

how can solve it ?
Check the HTML which is generated from the RichTextBox and find a way to handle HTML through iTextSharp.
Member 10486834 25-Dec-13 14:17pm    
i am not creating web application . i just window forms for window application.
The same applies to Windows. If you have the RichTextBox, then you will get the HTML. Handle that HTML.
Member 10486834 25-Dec-13 14:19pm    
i've already seen the link but that is not what i want. i wanna set different colors for selected text but there is nothing like this in that 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