image.getWidth()

Retrieves the width of the specified image.

image.getWidth( )

Returns: Number

This function does not take any arguments.

Examples

img = imagenew("",150,200,"RGB","red");
	writeoutput("Width of the image = " & img.getwidth());

See also