Waits for key event infinitely (delay<=0) or for "delay" milliseconds.
Returns the code of the pressed key or -1 if no key were pressed until the specified timeout has elapsed.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- delay
- Type: SystemInt32
Delay in milliseconds.
Return Value
Type: Int32key code
See Also