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..."
 
28days (talk | contribs)
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|__EDIT_ME__}}
{{FuncDescription|Set the web UI size.}}


{{FuncSyntax|SetWebSize(web, width, height)}}
{{FuncSyntax|SetWebSize(web, width, height)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|web|__EDIT_ME__}}
{{FuncParam|web|The web identifier}}
{{FuncParam|width|__EDIT_ME__}}
{{FuncParam|width|The width}}
{{FuncParam|height|__EDIT_ME__}}
{{FuncParam|height|The height}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|This function returns '''true''' on success.}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang='Lua'>
SetWebSize(web, 1920, 1080)
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{Template:WebFunctions}}

Latest revision as of 23:15, 18 March 2020

SetWebSize

Type: Function
Context: Client
Introduced: v1.0

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)

See also