Click or drag to resize

ChromiumWebBrowserGetContentSizeAsync Method

Version 102.0.100
Size of scrollable area in CSS pixels

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