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 )
| 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. |
Assembly: Ranorex.Core (Module: Ranorex.Core.dll) Version: 4.0.4.23593 (4.0.4.23593)