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

http://smallbasic.com/img/method_16.png LoadImage

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.

http://smallbasic.com/img/method_16.png GetWidthOfImage

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.

http://smallbasic.com/img/method_16.png GetHeightOfImage

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