Searches for the specified feature in the image.
| C# | Visual Basic | Visual C++ |
public static Imaging..::.Match FindSingle( Bitmap image, Bitmap feature, Imaging..::.FindOptions options )
Public Shared Function FindSingle ( _ image As Bitmap, _ feature As Bitmap, _ options As Imaging..::.FindOptions _ ) As Imaging..::.Match
public: static Imaging..::.Match^ FindSingle( Bitmap^ image, Bitmap^ feature, Imaging..::.FindOptions^ options )
- image (Bitmap)
- The image to search in.
- feature (Bitmap)
- The image to search for.
- options (Imaging..::.FindOptions)
- A Imaging..::.FindOptions instance that defines the options for the search.
The first or best Imaging..::.Match found (as specified in the
options).
| 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. |
| ImageNotFoundException | If the feature could
not be found. |
