Click or drag to resize
SoKeyboardEventIsKeyPressEvent Method

Returns whether the passed event is a keyboard press event of the passed key.

Namespace: OIV.Inventor.Events
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public static bool IsKeyPressEvent(
	SoEvent e,
	SoKeyboardEventKeys whichKey
)

Parameters

e
Type: OIV.Inventor.EventsSoEvent
whichKey
Type: OIV.Inventor.EventsSoKeyboardEventKeys

Return Value

Type: Boolean
Remarks

When OIV.Inventor.Events.SoKeyboardEvent.Keys.ANY is passed, this returns true if the event represents a keyboard press of any key.

See Also