Click or drag to resize
ChromiumWebBrowserOnPaint Event
Version 63.0.0
Fired on the CEF UI thread, which by default is not the same as your application main thread. 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. |type| indicates whether the element is the view or the popup widget. |buffer| contains the pixel data for the whole image. |dirtyRects| contains the set of rectangles in pixel coordinates that need to be repainted. |buffer| will be |width|*|height|*4 bytes in size and represents a BGRA image with an upper-left origin.

Namespace: CefSharp.OffScreen
Assembly: CefSharp.OffScreen (in CefSharp.OffScreen.dll) Version: 63.0.0.0 (63.0.0.0)
Syntax
public event EventHandler<OnPaintEventArgs> OnPaint

Value

Type: SystemEventHandlerOnPaintEventArgs
See Also