Click or drag to resize
ChromiumWebBrowserOnPaint Method
Version 63.0.0
Called when an element should be painted. Pixel values passed to this method are scaled relative to view coordinates based on the value of ScreenInfo.DeviceScaleFactor returned from GetScreenInfo. bitmapInfo.IsPopup indicates whether the element is the view or the popup widget. BitmapInfo.DirtyRect contains the set of rectangles in pixel coordinates that need to be repainted. The bitmap will be will be width * height *4 bytes in size and represents a BGRA image with an upper-left origin. The underlying buffer is copied into the back buffer and is accessible via BackBufferHandle

Namespace: CefSharp.Wpf
Assembly: CefSharp.Wpf (in CefSharp.Wpf.dll) Version: 63.0.0.0 (63.0.0.0)
Syntax
protected virtual void OnPaint(
	BitmapInfo bitmapInfo
)

Parameters

bitmapInfo
Type: BitmapInfo
information about the bitmap to be rendered
See Also