bOk = MImgDelete( hImage )

Deletes an image.

Parameters
hImage
Number: Handle of the image

Return
Boolean: TRUE if successful or FALSE if an error occurs

Example

Call MImgDelete( hImage )

Remarks
It's not necessary to delete images with this function since M!Image deletes all images automatically when the application terminates.
But keep in mind that every loaded image consumes memory. So it's always good practice to delete images when they are not longer needed.

Created with the Personal Edition of HelpNDoc: Full-featured Documentation generator