ZennoLab Assemblies Documentation
FindImage Method
ZennoLab.CommandCenter Namespace > Tab Class : FindImage Method

Type: System.String

The hash of the image. The image represented as a string.

Type: System.Drawing.Rectangle

The rectangular area of search.

Type: System.Int32

The exact matches. This parameter defines percent of similarities for search of the necessary parts. It should be in range from 95 to 99 including border.

Searches the specified image in specified rectangle area.
Syntax

Parameters

imageHash

Type: System.String

The hash of the image. The image represented as a string.

rectangles

Type: System.Drawing.Rectangle

The rectangular area of search.

confidenceInterval

Type: System.Int32

The exact matches. This parameter defines percent of similarities for search of the necessary parts. It should be in range from 95 to 99 including border.

Return Value

Type: System.String

The rectangular area in the coordinates of the page. The string has the follow format: "Left, Top, Width, Height".

Remarks
The use of the method requires a fairly large amount of computer resources. Not recommended to use it to search for a larger image.
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Tab Class
Tab Members
GetElementFromPoint Method