Tries to find the specified feature in (a screenshot of) the
element.
| C# | Visual Basic | Visual C++ |
public static bool TryFindSingle( Element element, Bitmap feature, Imaging..::.FindOptions options, out Imaging..::.Match match )
Public Shared Function TryFindSingle ( _ element As Element, _ feature As Bitmap, _ options As Imaging..::.FindOptions, _ <OutAttribute> ByRef match As Imaging..::.Match _ ) As Boolean
public: static bool TryFindSingle( Element^ element, Bitmap^ feature, Imaging..::.FindOptions^ options, [OutAttribute] Imaging..::.Match^% match )
- element (Element)
- The element to make a screenshot of in which will be searched.
- feature (Bitmap)
- The image to search for.
- options (Imaging..::.FindOptions)
- A Imaging..::.FindOptions instance that defines the options for the search.
- match ( Imaging..::.Match %)
- The first or best Imaging..::.Match found (as specified in the options), null if the search failed for any reason or no match was found.
True if a match was found, false otherwise.
