SoKeyboardEventIsKeyPressEvent Method |
Returns whether the passed event is a keyboard press event of the passed key.
Namespace: OIV.Inventor.EventsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public static bool IsKeyPressEvent(
SoEvent e,
SoKeyboardEventKeys whichKey
)
Public Shared Function IsKeyPressEvent (
e As SoEvent,
whichKey As SoKeyboardEventKeys
) As Boolean
public:
static bool IsKeyPressEvent(
SoEvent^ e,
SoKeyboardEventKeys whichKey
)
static member IsKeyPressEvent :
e : SoEvent *
whichKey : SoKeyboardEventKeys -> bool
Parameters
- e
- Type: OIV.Inventor.EventsSoEvent
- whichKey
- Type: OIV.Inventor.EventsSoKeyboardEventKeys
Return Value
Type:
BooleanRemarks See Also