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



cellIndex
The index of the cell that received the mouse event.
subCellIndex
The index of the cell that received the mouse event.
rectangle
The Rectangle that represents the painting area of the cell or sub-cell.
imageRectangle
The Rectangle that represents the image rectangle of the cell or sub-cell.
button
One of the MouseButtons values indicating which mouse button was used to fire this event.
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 MedicalViewerCellMouseEventArgs class with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal cellIndex As Integer, _
   ByVal subCellIndex As Integer, _
   ByVal rectangle As Rectangle, _
   ByVal imageRectangle As Rectangle, _
   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 subCellIndex As Integer
Dim rectangle As Rectangle
Dim imageRectangle As Rectangle
Dim button As MouseButtons
Dim clicks As Integer
Dim x As Integer
Dim y As Integer
Dim delta As Integer
 
Dim instance As MedicalViewerCellMouseEventArgs(cellIndex, subCellIndex, rectangle, imageRectangle, button, clicks, x, y, delta)
C# 
public MedicalViewerCellMouseEventArgs( 
   int cellIndex,
   int subCellIndex,
   Rectangle rectangle,
   Rectangle imageRectangle,
   MouseButtons button,
   int clicks,
   int x,
   int y,
   int delta
)
C++/CLI 
public:
MedicalViewerCellMouseEventArgs( 
   int cellIndex,
   int subCellIndex,
   Rectangle rectangle,
   Rectangle imageRectangle,
   MouseButtons button,
   int clicks,
   int x,
   int y,
   int delta
)

Parameters

cellIndex
The index of the cell that received the mouse event.
subCellIndex
The index of the cell that received the mouse event.
rectangle
The Rectangle that represents the painting area of the cell or sub-cell.
imageRectangle
The Rectangle that represents the image rectangle of the cell or sub-cell.
button
One of the MouseButtons values indicating which mouse button was used to fire this event.
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 MedicalViewerCellMouseEventArgs

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 Imaging license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features