BrowserClientSetWindowBoundsAsync Method |
Version 130.1.90
Set position and/or size of the browser window.
Namespace: CefSharp.DevTools.BrowserAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> SetWindowBoundsAsync(
int windowId,
Bounds bounds
)
public:
Task<DevToolsMethodResponse^>^ SetWindowBoundsAsync(
int windowId,
Bounds^ bounds
)
Parameters
- windowId Int32
- Browser window id.
- bounds Bounds
- New window bounds. The 'minimized', 'maximized' and 'fullscreen' states cannot be combinedwith 'left', 'top', 'width' or 'height'. Leaves unspecified fields unchanged.
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also