Skip to main content

ElementSetSize

Callable

  • ElementSetSize(elementOrId: ElementOrId, width?: number, height?: number): void

  • Sets the width and/or height of an element relative to the canvas scale.


    Parameters

    • elementOrId: ElementOrId
    • width: number = null
    • height: number = null

    Returns void