ImageAdv.isValid This page was last modified over 30 day(s) ago and has 0 comment(s)


Back to ImageAdv Class Summary

Availability
Windows, Mac OSX, Linux

Usage
mdm.ImageAdv.isValid

Parameters

Returns
Boolean

Description
this property denotes bitmap validity at current state. At any time bitmap image can be invalid - for example invalid input data was loaded into instance of image object. Note that image loading could also fail if there is no enough resources to create bitmap representation in memory.
That is important to use that property before any destructive, non-reversable operation that could be done with instance of image.
Once you close instance of image releasing resources this property should return false.

Notes
Read-Only

Example Code
image = new mdm.ImageAdv();
image.loadJpg(inputPath);
if(image.isValid)
{
/// process image here
};

mdm.ImageAdv Class Example Downloads
No Example Downloads Available


Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here
  After Logging In, Click Here to Refresh This Page