SetWebAnchors

From Onset Developer Wiki
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