Click here to Skip to main content
16,016,693 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using an ASP.NET richtextbox control and I want to save all its content in image format. Before saving it I need a preview for customization. I don't have any idea how to achieve that.

Please help me!
Posted
Updated 6-Feb-11 22:27pm
v2

1 solution

If at all possible, don't.
Most controls have a DrawToBitmap method, but this is not implemented for RichTextBox - in fact it is specifically removed from intellisense because the implementation doesn't work too well (it only draws the border, not the content).

However, there is code here[^] which says it does it. I haven't tried it though...
 
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