 | ImagingFind Method (Bitmap, Bitmap, ImagingFindOptions) |
Searches for the specified
feature in the
image
and returns a list of
ImagingMatches.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static List<ImagingMatch> Find(
Bitmap image,
Bitmap feature,
ImagingFindOptions options
)
Public Shared Function Find (
image As Bitmap,
feature As Bitmap,
options As ImagingFindOptions
) As List(Of ImagingMatch)
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.
Return Value
Type:
ListImagingMatchA list of
ImagingMatches found.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | If image is null. |
| ArgumentNullException | If feature is null. |
| ArgumentException | If the feature is greater in size
than the image. |
| ArgumentException | If the bitmap format of the feature
cannot be converted to that of the image. |
See Also