RanorexRanorex Documentation
Find Method (element, feature)
NamespacesRanorexImagingFind(Element, Bitmap)
Searches for the specified feature in (a screenshot of) the element and returns a list of Imaging..::.Matches using DefaultImaging..::.FindOptions.
Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
element (Element)
The element to make a screenshot of in which will be searched.
feature (Bitmap)
The image to search for.
Return Value
A list of Imaging..::.Matches found.
Exceptions
ExceptionCondition
RanorexExceptionIf capturing a screenshot of the element fails.
ArgumentNullExceptionIf element is null.
ArgumentNullExceptionIf feature is null.
ArgumentExceptionIf the feature is greater in size than the screenshot of the element.
ArgumentExceptionIf 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) Version: 3.2.3.16825 (3.2.3.16825)