Determines if the specified key modifier is currently in a pressed state.
Public Shared Function CheckKeyModifier(
ByVal e As System.EventArgs,
ByVal key As System.Windows.Forms.Keys
) As Boolean
e
Not used.
key
Key to check.
true if the modifier specified by key is currently in a pressed state, otherwise; false.
This method is used by the various ImageViewerInteractiveMode instances that support a key modifier. For example, holding down CTRL while dragging the mouse in ImageViewerPanZoomInteractiveMode will perform a zoom operation instead of a pan. The interactive mode will call this method to determine the status of the CTRL modifier.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET