Gets a ScriptEvent that matches the specified string appearing inside the specified region on the screen.

Namespace:  Rebex.TerminalEmulation
Assembly:  Rebex.Terminal (in Rebex.Terminal.dll)

Syntax

Visual Basic
Public Shared Function TextInRegion ( _
	text As String, _
	row As Integer, _
	column As Integer, _
	width As Integer, _
	height As Integer _
) As ScriptEvent
C#
public static ScriptEvent TextInRegion(
	string text,
	int row,
	int column,
	int width,
	int height
)

Parameters

text
Type: System..::..String
String to match.
row
Type: System..::..Int32
Row of the top left corner of the region.
column
Type: System..::..Int32
Column of the top left corner of the region.
width
Type: System..::..Int32
Width of the region.
height
Type: System..::..Int32
Height of the region.

Return Value

ScriptEvent that matches the specified string appearing inside the specified region.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also