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



cellIndex
The index of the cell that that has had its annotation clicked.
subCellIndex
The index of the sub-cell that has had its annotation clicked.
x
The pointer X position.
y
The pointer Y position.
mouseButton
An enumerated MedicalViewerMouseButtons value that represents the button that was used to click on the annotation object.

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

Initializes a new instance of the MedicalViewerAnnotationClickedEventArgs class with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal cellIndex As Integer, _
   ByVal subCellIndex As Integer, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal mouseButton As MedicalViewerMouseButtons _
)
Visual Basic (Usage)Copy Code
Dim cellIndex As Integer
Dim subCellIndex As Integer
Dim x As Integer
Dim y As Integer
Dim mouseButton As MedicalViewerMouseButtons
 
Dim instance As New MedicalViewerAnnotationClickedEventArgs(cellIndex, subCellIndex, x, y, mouseButton)
C# 
public MedicalViewerAnnotationClickedEventArgs( 
   int cellIndex,
   int subCellIndex,
   int x,
   int y,
   MedicalViewerMouseButtons mouseButton
)
C++/CLI 
public:
MedicalViewerAnnotationClickedEventArgs( 
   int cellIndex,
   int subCellIndex,
   int x,
   int y,
   MedicalViewerMouseButtons mouseButton
)

Parameters

cellIndex
The index of the cell that that has had its annotation clicked.
subCellIndex
The index of the sub-cell that has had its annotation clicked.
x
The pointer X position.
y
The pointer Y position.
mouseButton
An enumerated MedicalViewerMouseButtons value that represents the button that was used to click on the annotation object.

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