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: 2023.1.3.0 (2023.1.3)
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