Click here to Skip to main content
15,887,888 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone,
is it possible too capture a Bitmap from a hidden WebbrowserControl?

C#
webBrowser1.DrawToBitmap(b, new Rectangle(0, 0, 600, 400));
doesn't work.
This will only capture the control itself(scrollbars) not the children's so the content area is still white
:-(

any Idea?

thanks :-)
Posted

1 solution

 
Share this answer
 
Comments
Member 4160511 23-Sep-11 1:21am    
Hi Dave,
thank you for your link but this solution didn't work for me.
The webbrowser content (the HTML content) is white :-(
Any Idea?

thanks :-)

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