- Documentation
- Client functions
- getBrowserSize
Function
getBrowserSize
Returns the browser size in pixels.
Syntax
int getBrowserSize(browser webBrowser)Arguments
webBrowserbrowser- The browser.
Returns
Width and height.
Example
local w, h = getBrowserSize(browser)
dxDrawImage(0, 0, w, h, browser)