Share via


Small Basic Reference Documentation: ImageList Object

Small Basic: Reference Documentation > ImageList
 

http://smallbasic.com/img/object_32.png

ImageList

This class helps to load and store images in memory.

Operations

ImageList.LoadImage(fileNameOrUrl)

Loads an image from a file or the internet into memory.

fileNameOrUrl

The file name to load the image from. This could be a local file or a url to the internet location.

Returns

Returns the name of the image that was loaded.

ImageList.GetWidthOfImage(imageName)

Gets the width of the stored image.

imageName

The name of the image in memory.

Returns

The width of the specified image.

ImageList.GetHeightOfImage(imageName)

Gets the height of the stored image.

imageName

The name of the image in memory.

Returns

The height of the specified image.

 

See Also