Syntax
| window.ID.image.load(imageFile, paint, resize) |
Parameters
| STRING | imageFile | Image file. BMP and JPG extensions are supported.
| | BOOL | paint | Optional. Set this parameter to false if you have to do some work on the window's surface before painting it.
| | BOOL | resize | Set to false if you do not want the window to be resized to fit the size of the bitmap picture. |
Return value
No value is returned.
Description
Loads an image and paints it on the window.
The size of the window can be adjusted to fit with the size of the image. |
MioScript Sample Code
event.load
window.main.image.load(path.rsc("myPicture.jpg"), true, true)
event.end |
|