Click or drag to resize
CvInvokeWaitKey Method
Waits for key event infinitely (delay <= 0) or for "delay" milliseconds.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public static int WaitKey(
	int delay = 0


delay (Optional)
Type: SystemInt32
Delay in milliseconds.

Return Value

Type: Int32
The code of the pressed key or -1 if no key were pressed until the specified timeout has elapsed
See Also