Specifies a key code.
lt.Controls.Keys = {
None: 0,
LButton: 1,
RButton: 2,
Cancel: 3,
MButton: 4,
Enter: 13,
Escape: 27,
Space: 32,
PageUp: 33,
PageDown: 34,
End: 35,
Home: 36,
Left: 37,
Up: 38,
Right: 39,
Down: 40,
Alt: 262144,
Shift: 65536,
Control: 131072,
KeyCode: 65535,
Modifiers: -65536
}
lt.Controls.Keys = {
None: 0,
LButton: 1,
RButton: 2,
Cancel: 3,
MButton: 4,
Enter: 13,
Escape: 27,
Space: 32,
PageUp: 33,
PageDown: 34,
End: 35,
Home: 36,
Left: 37,
Up: 38,
Right: 39,
Down: 40,
Alt: 262144,
Shift: 65536,
Control: 131072,
KeyCode: 65535,
Modifiers: -65536
}
0 |
None |
(0) No key |
1 |
LButton |
(1) Left mouse button |
2 |
RButton |
(2) Right mouse button |
3 |
Cancel |
(3) Cancel key (Escape by default) |
4 |
MButton |
(4) Middle mouse button |
13 |
Enter |
(13) Enter key |
27 |
Escape |
(27) Escape key |
32 |
Space |
(32) Space key |
33 |
PageUp |
(33) Page up key |
34 |
PageDown |
(34) Page down key |
35 |
End |
(35) End key |
36 |
Home |
(36) Home key |
37 |
Left |
(37) Left key |
38 |
Up |
(33) Page up key |
39 |
Right |
(39) Right key |
40 |
Down |
(34) Page down key |
262144 |
Alt |
(262144) ALT key |
65536 |
Shift |
(65536) Shift key |
131072 |
Control |
(131072) Control key |
65535 |
KeyCode |
(65535) Mask for key codes |
-65536 |
Modifiers |
(-65536) Mask for modifier keys |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document