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 |
||
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 == | ||
<syntaxhihlight lang='Lua'> | |||
SetWebSize(web, 1920, 1080) | |||
</syntaxhihlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{Template:WebFunctions}} |
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
<syntaxhihlight lang='Lua'> SetWebSize(web, 1920, 1080) </syntaxhihlight>