Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Controls Assembly > Leadtools.Controls Namespace > InteractiveService Class : CheckKeyModifier Method |
'Declaration
Public Shared Function CheckKeyModifier( _ ByVal e As EventArgs, _ ByVal key As Keys _ ) As Boolean
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.