Previous - imgClose Section Home - Images Next - Hash Algorithm


imgIsValid ( )

Checks to see if Rosetta holds a valid image in its memory buffer.

Usage:

imgIsValid (object me)

Parameters:

None

Returns:

(integer) - The success code

Example:

xtRose = xtra("Rosetta").new( )
xtRose.imgOpen( "C:\windows\winnt.bmp" )
bImgValid = xtRose.imgIsValid( )

Notes:

This function can be helpful to determine if an image could be opened by Rosetta after calling functions such as imgFromClipboard, imgOpen, imgFromMember or imgFromScreen.


Previous - imgClose Section Home - Images Next - Hash Algorithm