←Select platform

AnnKeys Enumeration

Summary
Indicates a key code.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public enum AnnKeys  
typedef NS_ENUM(NSInteger, LTAnnKeys) { 
 LTAnnKeyNone = 0,  
 LTAnnKeyBack = 8,  
 LTAnnKeyTab = 9,  
 LTAnnKeyEnter = 13,  
 LTAnnKeyShiftKey = 16,  
 LTAnnKeyControlKey = 17,  
 LTAnnKeyMenu = 18,  
 LTAnnKeyEscape = 27,  
 LTAnnKeySpace = 32,  
 LTAnnKeyInsert = 45,  
 LTAnnKeyDeleteKey = 46,  
 LTAnnKeyAlt = 0x40000,  
 LTAnnKeyShift = 0x10000,  
#if TARGET_OS_OSX 
 LTAnnKeyKeyCode = 0xFFFF,  
 LTAnnKeyModifiers = -0x10000,  
#if defined(MAC_OS_X_VERSION_10_12) 
 LTAnnKeyControl = NSEventModifierFlagControl,  
 LTAnnKeyCommand = NSEventModifierFlagCommand,  
#else 
 LTAnnKeyControl = NSControlKeyMask,  
 LTAnnKeyCommand = NSCommandKeyMask,  
#endif 
#endif //#if defined (TARGET_OS_OSX) 
}; 
public enum AnnKeys 
Leadtools.Annotations.Engine.AnnKeys = function() { }; 
Leadtools.Annotations.Engine.AnnKeys.prototype = { 
 
  Modifiers = 0xFFFF0000, 
    None = 0x00000000, 
    Back = 0x00000008, 
    Tab = 0x00000009, 
    Enter = 0x0000000D, 
    ShiftKey = 0x00000010, 
    ControlKey = 0x00000011, 
    Menu = 0x00000012, 
    Escape = 0x0000001B, 
    Space = 0x00000020, 
    Insert = 0x0000002D, 
    DeleteKey = 0x0000002E, 
    KeyCode = 0x0000FFFF, 
    Shift = 0x00010000, 
    Control = 0x00020000, 
    Alt = 0x00040000, 
     
 }; 
public: 
   enum class AnnKeys sealed 
class AnnKeys(Enum): 
   None = 0 
   Back = 8 
   Tab = 9 
   Enter = 13 
   ShiftKey = 16 
   ControlKey = 17 
   Menu = 18 
   Escape = 27 
   Space = 32 
   Insert = 45 
   DeleteKey = 46 
   KeyCode = 65535 
   Shift = 65536 
   Control = 131072 
   Alt = 262144 
   Modifiers = -65536 
Members
ValueMemberDescription
-65536Modifiers Modifiers key
0None No key
8Back Backspace key
9Tab Tab key
13Enter Enter key
16ShiftKey Shift key
17ControlKey Control key
18Menu Menu (Alt) key
27Escape Escape key
32Space Space key
45Insert Insert key
46DeleteKey Delete key
65535KeyCode Indicate the key code
65536Shift Shift key modifier
131072Control Control key modifier
262144Alt ALT key modifier
Remarks

Note:This enumeration is not supported in WinRTPhone

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.