Skip to main content

ElementPositionFix

Callable

  • ElementPositionFix(ElementOrID: ElementOrId, Font: number, 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.


    Parameters

    • ElementOrID: ElementOrId

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

    • Font: number

      The size of the font to use.

    • 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.

    • H: number

      Height of the element.

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

    Returns void

    • Nothing