| WindowWaitKeyEx Method |
Waits for a pressed key.
Similar to #waitKey, but returns full key code.
Key code is implementation specific and depends on used backend: QT/GTK/Win32/etc
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static int WaitKeyEx(
int delay = 0
)
Public Shared Function WaitKeyEx (
Optional delay As Integer = 0
) As Integer
public:
static int WaitKeyEx(
int delay = 0
)
static member WaitKeyEx :
?delay : int
(* Defaults:
let _delay = defaultArg delay 0
*)
-> int
Parameters
- delay (Optional)
- Type: SystemInt32
Delay in milliseconds. 0 is the special value that means ”forever”
Return Value
Type:
Int32Returns the code of the pressed key or -1 if no key was pressed before the specified time had elapsed.
See Also