SoEventBuilderGetKeyPressEvent Method |
Namespace: OIV.Inventor.ViewerComponentsAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax public SoKeyboardEvent GetKeyPressEvent(
SoKeyboardEventKeys key,
bool isAltDown,
bool isCtrlDown,
bool isShiftDown
)
Public Function GetKeyPressEvent (
key As SoKeyboardEventKeys,
isAltDown As Boolean,
isCtrlDown As Boolean,
isShiftDown As Boolean
) As SoKeyboardEvent
public:
SoKeyboardEvent^ GetKeyPressEvent(
SoKeyboardEventKeys key,
bool isAltDown,
bool isCtrlDown,
bool isShiftDown
)
member GetKeyPressEvent :
key : SoKeyboardEventKeys *
isAltDown : bool *
isCtrlDown : bool *
isShiftDown : bool -> SoKeyboardEvent
Parameters
- key
- Type: OIV.Inventor.EventsSoKeyboardEventKeys
key that have been pressed.
- isAltDown
- Type: SystemBoolean
Specify if Alt key was down when key has been pressed.
- isCtrlDown
- Type: SystemBoolean
Specify if Ctrl key was down when key has been pressed.
- isShiftDown
- Type: SystemBoolean
Specify if Shift key was down when key has been pressed.
Return Value
Type:
SoKeyboardEventRemarks The returned object should not be destroyed.
See Also