Click here to Skip to main content
15,611,422 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello All,

I just want to know if this is possible or not. I have a rich text box with all formatted text in it. I want to save the content of that rich text box as an image on my hard disk.

The reason behind this is I work with crystal reports and Crystal reports are not taking formatted text when i am passing it. So I want to save that text in a temp image file and pass that to crystal report so that it can load properly. So I felt, if I save it as an image and then pass it to crystal report, it might work.

Any Ideas? or IS IT POSSIBLE?
Posted

1 solution

IS IT POSSIBLE?

Perhaps this will help, not in vb but I assume you can follow the code:
http://stackoverflow.com/questions/5296359/how-to-render-richedit-text-to-a-canvas-by-keeping-font-smoothness[^]

Best regards
Espen Harlinn
 
Share this answer
 

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