Searches for the specified feature in (a screenshot of) the
element
using DefaultImaging..::.FindOptions
and returns whether the feature is found.
True if the feature is found, otherwise false.
| 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. |
