Waits for key event infinitely (delay <= 0) or for "delay" milliseconds.

Namespace:  Emgu.CV
Assembly:  Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)

Syntax

C#
public static int cvWaitKey(
	int delay
)
Visual Basic (Declaration)
Public Shared Function cvWaitKey ( _
	delay As Integer _
) As Integer
Visual C++
public:
static int cvWaitKey(
	int delay
)

Parameters

delay
Type: System..::.Int32
Delay in milliseconds.

Return Value

The code of the pressed key or -1 if no key were pressed until the specified timeout has elapsed

See Also