IsBlankImageEx Method
Description
Detects whether a certain area on an image is blank.
| ActiveX Edition | Plug-in Edition | Mac Edition |
|---|---|---|
| Since V6.2 | Since V6.2 | Since V6.4 |
Syntax
Boolean ObjectName. (short sImageIndex, long left, long top, long right, long bottom, bool bFuzzyMatch)
Parameters
short sImageIndex: specifies the index of image in buffer. The index is 0-based.
long iLeft: specifies the x-coordinate of the upper-left corner of the rectangle for detecting.
long iTop: specifies the y-coordinate of the upper-left corner of the rectangle for detecting.
long iRight: specifies the x-coordinate of the lower-right corner of the rectangle for detecting.
long iBottom: specifies the y-coordinate of the lower-right corner of the rectangle for detecting.
bool bFuzzyMatch: specifies whether use fuzzy matching when detecting.
Return value
Boolean.
TRUE indicates that the selected area on an image is blank. FALSE indicates that the selected area is not blank.
When an error occurs and IfThrowException property is TRUE, an exception will be thrown.
When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.
Remarks
If you would like to check whether an image is blank, you can use the IsBlankImage method.
See Also
BlankImageThreshold, BlankImageMaxStdDev, BlankImageCurrentStdDev properties and IsBlankImage method.
