Click or drag to resize

ChromiumWebBrowserGetContentSizeAsync Method

Version 101.0.180
Size of scrollable area in CSS pixels

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