LEADTOOLS Medical (Leadtools.MedicalViewer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
MedicalViewerKeyEventArgs Constructor
See Also 
Leadtools.MedicalViewer Namespace > MedicalViewerKeyEventArgs Class : MedicalViewerKeyEventArgs Constructor



cellIndex
The index of the cell that the user tag will be drawn on.
images
Array of Leadtools.RasterImage objects that contain the images to be updated.
actionID
The ID of the action that raised the event.
keyData
A System.Windows.Forms.Keys value representing the key that was pressed, combined with any modifier flags that indicate which CTRL, SHIFT, or ALT key was pressed at the same time. Possible values are obtained be applying the bitwise OR (|) operator to constants from the Keys enumeration.

The MedicalViewerKeyEventArgs Constructor is available as an add-on to the LEADTOOLS Medical Imaging toolkits.

Initializes a new instance of the MedicalViewerKeyEventArgs class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal cellIndex As Integer, _
   ByVal images() As RasterImage, _
   ByVal actionID As Integer, _
   ByVal keyData As Keys _
)
Visual Basic (Usage)Copy Code
Dim cellIndex As Integer
Dim images() As RasterImage
Dim actionID As Integer
Dim keyData As Keys
 
Dim instance As New MedicalViewerKeyEventArgs(cellIndex, images, actionID, keyData)
C# 
public MedicalViewerKeyEventArgs( 
   int cellIndex,
   RasterImage[] images,
   int actionID,
   Keys keyData
)
C++/CLI 
public:
MedicalViewerKeyEventArgs( 
   int cellIndex,
   array<RasterImage^>^ images,
   int actionID,
   Keys keyData
)

Parameters

cellIndex
The index of the cell that the user tag will be drawn on.
images
Array of Leadtools.RasterImage objects that contain the images to be updated.
actionID
The ID of the action that raised the event.
keyData
A System.Windows.Forms.Keys value representing the key that was pressed, combined with any modifier flags that indicate which CTRL, SHIFT, or ALT key was pressed at the same time. Possible values are obtained be applying the bitwise OR (|) operator to constants from the Keys enumeration.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.MedicalViewer requires a Medical Imaging license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features