ImageWidth

Category: Images and Rendering

Back to System Functions


Signature

ImageWidth(imageReference As Integer)

Returns

Integer

Description

Returns the width of a loaded image in pixels.

If the image reference is invalid, the result is 0.

Example

width = ImageWidth(player)