standard.settings.size

getElement(id).settings.size(width, height)

Resizes the element to a width of width pixels and a height of height pixels.

Example:

[js highlight=”2″ try=”true”]newImage(“smiley”, “pear.png”)
.settings.size(40, 40)
.print()
[/js]

Adds a 40x40px image pear.png onto the screen.