Skip to main content

ElementPositionFixed

Callable

  • ElementPositionFixed(ElementOrID: ElementOrId, X: number, Y: number, W: number, H?: number, anchorPosition?: top-left | top-right | bottom-left | bottom-right): void

  • Draws an existing HTML element at a specific position within the document. The element will not be centered on its given coordinates unlike the ElementPosition function. Not same as ElementPositionFix. Calculates Font size itself.


    Parameters

    • ElementOrID: ElementOrId

      The id of the input tag to (re-)position or the element itself.

    • X: number

      Starting point of the element on the X axis.

    • Y: number

      Starting point of the element on the Y axis.

    • W: number

      Width of the element.

    • optionalH: number

      Height of the element.

    • optionalanchorPosition: top-left | top-right | bottom-left | bottom-right = 'top-left'

    Returns void

    • Nothing