Click or drag to resize

ChromiumWebBrowserGetContentSizeAsync Method

Version 100.0.140
Size of scrollable area in CSS pixels

Namespace:  CefSharp.OffScreen
Assembly:  CefSharp.OffScreen (in CefSharp.OffScreen.dll) Version: 100.0.140.0 (100.0.140.0)
Syntax
public Task<Rect> GetContentSizeAsync()

Return Value

Type: TaskRect
A task that can be awaited to get the size of the scrollable area in CSS pixels.
See Also