The UserTag Event is available as an add-on to the LEADTOOLS Medical Imaging toolkits.
Optional delegate method for additional processing.Visual Basic (Declaration) | |
---|---|
Public Event UserTag As EventHandler(Of MedicalViewerUserTagEventArgs) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim handler As EventHandler(Of MedicalViewerUserTagEventArgs) AddHandler instance.UserTag, handler |
C# | |
---|---|
public event EventHandler<MedicalViewerUserTagEventArgs> UserTag |
C++/CLI | |
---|---|
public: event EventHandler<MedicalViewerUserTagEventArgs^>^ UserTag |
The event handler receives an argument of type MedicalViewerUserTagEventArgs containing data related to this event. The following MedicalViewerUserTagEventArgs properties provide information specific to this event.
Property | Description |
---|---|
CellIndex | Gets or sets the value that indicates the index of the cell on which the user tag will be drawn. |
ClipRectangle (Inherited from System.Windows.Forms.PaintEventArgs) | Gets the rectangle in which to paint. |
Graphics (Inherited from System.Windows.Forms.PaintEventArgs) | Gets the graphics used to paint. |
For an example, refer to Leadtools.MedicalViewer.MedicalViewerCell.CustomPaint
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7