Click or drag to resize
Ranorex

ImagingFindSingle Method (Bitmap, Bitmap)

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static ImagingMatch FindSingle(
	Bitmap image,
	Bitmap feature
)

Parameters

image
Type: System.DrawingBitmap
The image to search in.
feature
Type: System.DrawingBitmap
The image to search for.

Return Value

Type: ImagingMatch
The first or best ImagingMatch found (as specified in the Default options).
Exceptions
ExceptionCondition
ArgumentNullExceptionIf image is null.
ArgumentNullExceptionIf feature is null.
ArgumentExceptionIf the feature is greater in size than the image.
ArgumentExceptionIf the bitmap format of the feature cannot be converted to that of the image.
ImageNotFoundExceptionIf the feature could not be found.
See Also