RanorexRanorex Documentation
TryFindSingle Method (element, feature, options, match)
NamespacesRanorexImagingTryFindSingle(Element, Bitmap, Imaging..::.FindOptions, Imaging..::.Match%)
Tries to find the specified feature in (a screenshot of) the element.
Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
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.
Return Value
True if a match was found, false otherwise.

Assembly: Ranorex.Core (Module: Ranorex.Core) Version: 3.2.3.16825 (3.2.3.16825)