- Documentation
- Client functions
- setBrowserZoom
Function
setBrowserZoom
Sets the page zoom (0.25-5, 1 is 100%).
Syntax
bool setBrowserZoom(browser webBrowser, float zoom)Arguments
webBrowserbrowser- The browser.
zoomfloat- The zoom.
Returns
true on success.
Example
local sw = guiGetScreenSize()
setBrowserZoom(browser, sw / 1920)