SetWebSize: Difference between revisions

From Onset Developer Wiki
28days (talk | contribs)
No edit summary
28days (talk | contribs)
No edit summary
 
Line 13: Line 13:


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


{{RelatedFunctions}}
{{RelatedFunctions}}
{{Template:WebFunctions}}
{{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