←Select platform

MPRPolygonClicked Event

Summary

Optional delegate method for additional processing.

Syntax

C#
VB
C++
public event EventHandler<MedicalViewerMPRPolygonClickedEventsArgs> MPRPolygonClicked 
  
Public Event MPRPolygonClicked As EventHandler(Of MedicalViewerMPRPolygonClickedEventsArgs) 
             
            public: 
event EventHandler<MedicalViewerMPRPolygonClickedEventsArgs^>^ MPRPolygonClicked 
             

Event Data

The event handler receives an argument of type MedicalViewerMPRPolygonClickedEventsArgs containing data related to this event. The following MedicalViewerMPRPolygonClickedEventsArgs properties provide information specific to this event.

PropertyDescription
Button (Inherited from System.Windows.Forms.MouseEventArgs)Gets which mouse button was pressed.
Clicks (Inherited from System.Windows.Forms.MouseEventArgs)Gets the number of times the mouse button was pressed and released.
Delta (Inherited from System.Windows.Forms.MouseEventArgs)Gets a signed count of the number of detents the mouse wheel has rotated, multiplied by the WHEEL_DELTA constant. A detent is one notch of the mouse wheel.
Index Gets the index of the clicked polygon line or polygon handle.
Location (Inherited from System.Windows.Forms.MouseEventArgs)Gets the location of the mouse during the generating mouse event.
Polygon Gets the MPR polygon that the user just clicked.
Type Gets the enumeration that determines which part of the polygon has been clicked. (the body or the handle).
X (Inherited from System.Windows.Forms.MouseEventArgs)Gets the x-coordinate of the mouse during the generating mouse event.
Y (Inherited from System.Windows.Forms.MouseEventArgs)Gets the y-coordinate of the mouse during the generating mouse event.
Example

For an example, refer to MedicalViewerPanoramicCell.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MedicalViewer Assembly