SetWebSize: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|SetWebSize(web, width, height)}} {{FuncParameters}} {{FuncParam|web|__EDIT_ME__}} {{FuncParam|widt..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Set the web UI size.}} | ||
{{FuncSyntax|SetWebSize(web, width, height)}} | {{FuncSyntax|SetWebSize(web, width, height)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|web| | {{FuncParam|web|The web identifier}} | ||
{{FuncParam|width| | {{FuncParam|width|The width}} | ||
{{FuncParam|height| | {{FuncParam|height|The height}} | ||
{{FuncReturnValue| | {{FuncReturnValue|This function returns '''true''' on success.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang='Lua'> | |||
SetWebSize(web, 1920, 1080) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{Template:WebFunctions}} |
Latest revision as of 23:15, 18 March 2020
Description
Set the web UI size.
Syntax
SetWebSize(web, width, height)
Parameters
- web
The web identifier - width
The width - height
The height
Return Value
- This function returns true on success.
Example
SetWebSize(web, 1920, 1080)