Click or drag to resize

ChromiumWebBrowserGetContentSizeAsync Method

Version 106.0.290
Size of scrollable area in CSS pixels

Namespace:  CefSharp.WinForms
Assembly:  CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 106.0.290.0 (106.0.290.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.

Implements

IWebBrowserGetContentSizeAsync
See Also