LEADTOOLS Medical (Leadtools.MedicalViewer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
UserTag Event
See Also 
Leadtools.MedicalViewer Namespace > MedicalViewerBaseCell Class : UserTag Event



The UserTag Event is available as an add-on to the LEADTOOLS Medical Imaging toolkits.

Optional delegate method for additional processing.

Syntax

Visual Basic (Declaration) 
Public Event UserTag As EventHandler(Of MedicalViewerUserTagEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As MedicalViewerBaseCell
Dim handler As EventHandler(Of MedicalViewerUserTagEventArgs)
 
AddHandler instance.UserTag, handler
C++/CLI 
public:
event EventHandler<MedicalViewerUserTagEventArgs^>^ UserTag

Event Data

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.

PropertyDescription
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.

Example

For an example, refer to MedicalViewerCell.CustomPaint

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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