Hi,
I'm currently developing an application which opens a SVG via CEF and takes a screenshot. I'm using C# and the CefGlue binding (v3.2704.1409).
I'm waiting for the OnLoadingStateChange call and as soon as the page is loaded I'm waiting for the first OnPaint call in the RenderHandler. After the first call I save the screenshot as a bitmap.
Unfortunately the first OnPaint call is not always the last one, which leaves me with an incomplete bitmap/screenshot.
How can I tell if the browser is done with the rendering? Is there a way to check if a OnPaint call is the last one?