ImgIsBlank

Top  Previous  Next

Prototype

 

BoolRes:=IsBlank(HandleImage, floatMaxPercentage)

 

Description

 

Evaluate if the image is blank

 

Parameters

 

HandleImage: integer value corresponding to image handle.

 

Returned Value

 

ResBool: If the image is blank return true otherwise false

 

floatMaxPercentage: maximum percentage of black pixel permissible

 

Notes

 

None

 

Example

 

//Evaluate if the image is blank

res:=Imgisblank(_CurrentImage,100.0);

 

//Log a message

if res=true then

 ApplicationLog('page image is blank')

else ApplicationLog('page image NOT is blank')