RanorexRanorex Documentation
DetectClickRegion Method (input, startRect, result)
NamespacesRanorexImaging..::.ProcessingDetectClickRegion(Bitmap, Rectangle, Rectangle%)
Tries to find a region in the image containing useful information by iterative inflation of the start rectangle. The algorithm stops if no more information is gained through inflation.
Declaration Syntax
C#Visual BasicVisual C++
public static Bitmap DetectClickRegion(
	Bitmap input,
	Rectangle startRect,
	out Rectangle result
)
Public Shared Function DetectClickRegion ( _
	input As Bitmap, _
	startRect As Rectangle, _
	<OutAttribute> ByRef result As Rectangle _
) As Bitmap
public:
static Bitmap^ DetectClickRegion(
	Bitmap^ input, 
	Rectangle startRect, 
	[OutAttribute] Rectangle% result
)
Parameters
input (Bitmap)
The input image.
startRect (Rectangle)
The start region.
result ( Rectangle %)
The resulting region.
Return Value
The resulting detected region. Returns a emptry region if the information content in the region is too low.

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