Click or drag to resize
ChromiumWebBrowserScreenshotAsync Method
Version 51.0.0
Starts a task that waits for the next rendering from Chrome. Chrome also renders the page loading, so if you want to see a complete rendering, only start this task once your page is loaded (which you can detect via FrameLoadEnd or your own heuristics based on evaluating JavaScript). It is your responsibility to dispose the returned Bitmap. The bitmap size is determined by the Size property set earlier.

Namespace: CefSharp.OffScreen
Assembly: CefSharp.OffScreen (in CefSharp.OffScreen.dll) Version: 51.0.0.0 (51.0.0.0)
Syntax
public Task<Bitmap> ScreenshotAsync(
	bool ignoreExistingScreenshot = false
)

Parameters

ignoreExistingScreenshot (Optional)
Type: SystemBoolean
Ignore existing bitmap (if any) and return the next avaliable bitmap

Return Value

Type: TaskBitmap
Task<Bitmap>.
See Also