awesomium / tutorial-framework

Framework to serve as a starting point for tutorials
MIT License
18 stars 7 forks source link

.NET Render Html to image #2

Open honeypc opened 10 years ago

honeypc commented 10 years ago

I'm using MVC 4 Webapplication & .NET 4.5

I have install Awesomium 1.7.3 and add reference Awesomium.Core, Awesomium.Windows.Forms on my project I have seen example: http://labs.awesomium.com/capturing-web-pages-with-c-net/ But I don't know using it for my project because I don't find : webView.LoadCompleted += ( sender, e ) => { finishedLoading = true; }; and webView.Render().SaveToPNG( "result.png", true );

Can you help me ?