Leadtools.MedicalViewer Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
MedicalViewerMouseEventArgs Constructor
See Also 
Leadtools.MedicalViewer Namespace > MedicalViewerMouseEventArgs Class : MedicalViewerMouseEventArgs Constructor




cellIndex
The index of the cell that that the user tag will be drawn on.
images
Array of RasterImage that contains the images to update.
actionID
The ID of the action that raised the event.
button
One of the MouseButtons values indicating which mouse button was pressed.
clicks
The number of times a mouse button was pressed.
x
The x-coordinate of the mouse click, in pixels.
y
The y-coordinate of the mouse click, in pixels.
delta
A signed count of the number of detents the wheel has rotated.
Initializes a new instance of the MedicalViewerMouseEventArgs class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal cellIndex As Integer, _
   ByVal images() As RasterImage, _
   ByVal actionID As Integer, _
   ByVal button As MouseButtons, _
   ByVal clicks As Integer, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal delta As Integer _
)
Visual Basic (Usage)Copy Code
Dim cellIndex As Integer
Dim images() As RasterImage
Dim actionID As Integer
Dim button As MouseButtons
Dim clicks As Integer
Dim x As Integer
Dim y As Integer
Dim delta As Integer
 
Dim instance As MedicalViewerMouseEventArgs(cellIndex, images, actionID, button, clicks, x, y, delta)
C# 
public MedicalViewerMouseEventArgs( 
   int cellIndex,
   RasterImage[] images,
   int actionID,
   MouseButtons button,
   int clicks,
   int x,
   int y,
   int delta
)
Managed Extensions for C++ 
public: MedicalViewerMouseEventArgs( 
   int cellIndex,
   RasterImage[] images,
   int actionID,
   MouseButtons button,
   int clicks,
   int x,
   int y,
   int delta
)
C++/CLI 
public:
MedicalViewerMouseEventArgs( 
   int cellIndex,
   array<RasterImage> images,
   int actionID,
   MouseButtons button,
   int clicks,
   int x,
   int y,
   int delta
)

Parameters

cellIndex
The index of the cell that that the user tag will be drawn on.
images
Array of RasterImage that contains the images to update.
actionID
The ID of the action that raised the event.
button
One of the MouseButtons values indicating which mouse button was pressed.
clicks
The number of times a mouse button was pressed.
x
The x-coordinate of the mouse click, in pixels.
y
The y-coordinate of the mouse click, in pixels.
delta
A signed count of the number of detents the wheel has rotated.

Example

For an example, refer to CustomPaint

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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