Skip to main content

ElementSetFontSize

Callable

  • ElementSetFontSize(elementOrId: ElementOrId, targetFontSize?: number | auto): void

  • Sets the font size of an element scaled relative to the smaller canvas dimension.


    Parameters

    • elementOrId: ElementOrId
    • targetFontSize: number | auto = 'auto'

    Returns void