APIIsImageOnScreen Method |
Searches for the specified image on the screen.
Namespace:
AppRobotic
Assembly:
AppRobotic (in AppRobotic.dll) Version: 15.21.3.21 (15.21.03.21)
Syntax public string IsImageOnScreen(
Object ImageToFindPath,
Object MatchPercent,
Object ColorOrGrayScaleMode
)
Parameters
- ImageToFindPath
- Type: SystemObject
File path to the image you would like to find on the screen. - MatchPercent
- Type: SystemObject
Similarity threshold to apply during the search, specify: 0 to 100. - ColorOrGrayScaleMode
- Type: SystemObject
Match mode to use during search, specify: Color or GrayScale.
Return Value
Type:
StringReturns string containing 'success' if the image is found, "ImageNotFound" if the image is not found, or an error message.
See Also