SoWinExaminerViewerAddFunctionKeyBinding Method |
Adds a new function key binding to the viewer.
Namespace: OIV.Inventor.Win.Viewers
public void AddFunctionKeyBinding( SoKeyboardEventKeys key, SoWinExaminerViewerSoViewingFunction viewingFunc )
This method allows you to associate a keyboard key with a viewing function, such as rotation or translation. The specified viewing function replaces any viewing function currently associated with the specified key. Any key may be used, not just "function keys".
A key cannot be associated with more than one viewing function at a time. However, more than one key can be associated with a single viewing function. For example, the S and T keys could each be used to invoke the seek operation.