Microsoft Small Basic


ImageList

This class helps to load and store images in memory.

Operations

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.

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.

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.