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