Click or drag to resize

ChromiumWebBrowserGetContentSizeAsync Method

Version 103.0.120
Size of scrollable area in CSS pixels

Namespace:  CefSharp.OffScreen
Assembly:  CefSharp.OffScreen (in CefSharp.OffScreen.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