LEADTOOLS Medical (Leadtools.MedicalViewer assembly)
LEAD Technologies, Inc

MedicalViewerMPRPolygonClickedEventsArgs Constructor (MedicalViewerMPRPolygonClickedEventsArgs)






MedicalViewerMPRPolygon that represents the clicked MPR polygon.
a zero-based index of the clicked polygon line or polygon handle. To determine if this index refer to polygon line or polygon handle, refer to Type.
MedicalViewerMPRPolygonHitTest enumeration that determines which part of the polygon has been clicked.
One of the System.Windows.Forms.MouseButtons values indicating which mouse button was used to fire this event.
The number of times a mouse button was pressed.
The x-coordinate of the mouse click, in pixels.
The y-coordinate of the mouse click, in pixels.
A signed count of the number of detents the wheel has rotated.
The MedicalViewerMPRPolygonClickedEventsArgs class provides data for the Leadtools.MedicalViewer.MedicalViewerCell.MPRPolygonCreated event.
Syntax
public MedicalViewerMPRPolygonClickedEventsArgs( 
   MedicalViewerMPRPolygon polygon,
   int index,
   MedicalViewerMPRPolygonHitTest type,
   MouseButtons button,
   int clicks,
   int x,
   int y,
   int delta
)
'Declaration
 
Public Function New( _
   ByVal polygon As MedicalViewerMPRPolygon, _
   ByVal index As Integer, _
   ByVal type As MedicalViewerMPRPolygonHitTest, _
   ByVal button As MouseButtons, _
   ByVal clicks As Integer, _
   ByVal x As Integer, _
   ByVal y As Integer, _
   ByVal delta As Integer _
)
'Usage
 
Dim polygon As MedicalViewerMPRPolygon
Dim index As Integer
Dim type As MedicalViewerMPRPolygonHitTest
Dim button As MouseButtons
Dim clicks As Integer
Dim x As Integer
Dim y As Integer
Dim delta As Integer
 
Dim instance As New MedicalViewerMPRPolygonClickedEventsArgs(polygon, index, type, button, clicks, x, y, delta)
public MedicalViewerMPRPolygonClickedEventsArgs( 
   MedicalViewerMPRPolygon polygon,
   int index,
   MedicalViewerMPRPolygonHitTest type,
   MouseButtons button,
   int clicks,
   int x,
   int y,
   int delta
)
function MedicalViewerMPRPolygonClickedEventsArgs( 
   polygon ,
   index ,
   type ,
   button ,
   clicks ,
   x ,
   y ,
   delta 
)
public:
MedicalViewerMPRPolygonClickedEventsArgs( 
   MedicalViewerMPRPolygon^ polygon,
   int index,
   MedicalViewerMPRPolygonHitTest type,
   MouseButtons button,
   int clicks,
   int x,
   int y,
   int delta
)

Parameters

polygon
MedicalViewerMPRPolygon that represents the clicked MPR polygon.
index
a zero-based index of the clicked polygon line or polygon handle. To determine if this index refer to polygon line or polygon handle, refer to Type.
type
MedicalViewerMPRPolygonHitTest enumeration that determines which part of the polygon has been clicked.
button
One of the System.Windows.Forms.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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

MedicalViewerMPRPolygonClickedEventsArgs Class
MedicalViewerMPRPolygonClickedEventsArgs Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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