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