Click or drag to resize
Ranorex

ImagingTryFindSingle Method (Bitmap, Bitmap, ImagingFindOptions, ImagingMatch)

Tries to find the specified feature in the image.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static bool TryFindSingle(
	Bitmap image,
	Bitmap feature,
	ImagingFindOptions options,
	out ImagingMatch match
)

Parameters

image
Type: System.DrawingBitmap
The image to search in.
feature
Type: System.DrawingBitmap
The image to search for.
options
Type: RanorexImagingFindOptions
A ImagingFindOptions instance that defines the options for the search.
match
Type: RanorexImagingMatch
The first or best ImagingMatch found (as specified in the options), null if the search failed for any reason or no match was found.

Return Value

Type: Boolean
True if a match was found, false otherwise.
See Also