How can i convert html document to image using CefSharp?
--
You received this message because you are subscribed to the Google Groups "CefSharp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cefsharp+u...@googlegroups.com.
To post to this group, send email to cefs...@googlegroups.com.
Visit this group at http://groups.google.com/group/cefsharp?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
virtual bool GetImage(PaintElementType type, int width, int height, |
void* buffer) =0; |
Hi Czarek,there is no anymore that method in the latest release. Could you advice another approach how to convert rendered page to image? (make a screenshot)
I've implemented feature of taking full web page snapshot in a forked branch https://github.com/ivan-sam/CefSharp. This implementation depends on a another commit that fixes script evaluation bug https://github.com/cefsharp/CefSharp/issues/445 , so please clone or download the whole branch.
I've modified CefSharp.Wpf.Example project and added Snapshot button that makes snapshot of the page and opens an image.
If you need to use this feature in WinForms app you can host WPF control with ElementHost