APIImageClickOffset Method |
Click the offset X/Y coordinate from the specified matching image found on the screen in the specified order.
Namespace:
AppRobotic
Assembly:
AppRobotic (in AppRobotic.dll) Version: 15.21.3.21 (15.21.03.21)
Syntax public string ImageClickOffset(
Object ImageToFindPath,
Object MatchPercent,
Object ColorOrGrayScaleMode,
Object ImageFoundOrder,
Object OffsetX,
Object OffsetY
)
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. - ImageFoundOrder
- Type: SystemObject
Specify the Found Order of the Image on which you would like to perform an Action. For example, if there are 3 matching images found on the screen with the Vision tool, and you would like to click only the 2nd image found, specify the order in which it is found, such as 2nd of 3 images found, i.e. 2 (integer, without quotes) - OffsetX
- Type: SystemObject
Move mouse to point offset from found matching image center X coordinate. - OffsetY
- Type: SystemObject
Move mouse to point offset from found matching image center Y coordinate.
Return Value
Type:
StringReturns string containing 'success' or error message.
See Also