Click or drag to resize

ChromiumWebBrowserGetContentSizeAsync Method

Version 103.0.120
Size of scrollable area in CSS pixels

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