IDisplayHandlerOnAutoResize Method |
Version 63.0.0
Called when auto-resize is enabled via IBrowserHost.SetAutoResizeEnabled and the contents have auto-resized.
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 63.0.0.0 (63.0.0.0)
Syntax bool OnAutoResize(
IWebBrowser browserControl,
IBrowser browser,
Size newSize
)
bool OnAutoResize(
IWebBrowser^ browserControl,
IBrowser^ browser,
Size newSize
)
Parameters
- browserControl
- Type: CefSharpIWebBrowser
The ChromiumWebBrowser control - browser
- Type: CefSharpIBrowser
the browser object - newSize
- Type: CefSharp.StructsSize
will be the desired size in view coordinates
Return Value
Type:
BooleanReturn true if the resize was handled or false for default handling.
See Also