Searches for the specified feature in (a screenshot of) the
element and returns a list of Imaging..::.Matches
using DefaultImaging..::.FindOptions.
| C# | Visual Basic | Visual C++ |
public static List<Imaging..::.Match> Find( Element element, Bitmap feature )
Public Shared Function Find ( _ element As Element, _ feature As Bitmap _ ) As List(Of Imaging..::.Match)
public: static List<Imaging..::.Match^>^ Find( Element^ element, Bitmap^ feature )
A list of Imaging..::.Matches found.
| Exception | Condition |
|---|---|
| RanorexException | If capturing a screenshot of the element fails. |
| ArgumentNullException | If element is null. |
| ArgumentNullException | If feature is null. |
| ArgumentException | If the feature is greater in size
than the screenshot of the element. |
| ArgumentException | If the bitmap format of the feature
cannot be converted to that (color image, Format24bppRgb)
of the screenshot of the element. |
