SetWebAnchors

From Onset Developer Wiki
Revision as of 20:14, 18 December 2019 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetWebAnchors

Type: Function
Context: Client
Introduced: v1.0

Description

Set the anchor points for the Web UI.

Syntax

SetWebAnchors(web, MinX, MinY, MaxX, MaxY)

Parameters

  • web
    The web identifier
  • MinX
    The minimum X axis (between 0.0 to 1.0)
  • MinY
    The minimum Y axis (between 0.0 to 1.0)
  • MaxX
    The maximum X axis (between 0.0 to 1.0)
  • MaxY
    The maximum Y axis (between 0.0 to 1.0)

Return Value

  • Returns true on success.

Example

SetWebAnchors(webUi, 0.0, 0.0, 1.0, 1.0)

See also