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

PrePaint Event






Optional delegate method for additional processing.
Syntax
'Declaration
 
Public Event PrePaint As EventHandler(Of MedicalViewerPaintInformationEventArgs)
'Usage
 
Dim instance As MedicalViewerCell
Dim handler As EventHandler(Of MedicalViewerPaintInformationEventArgs)
 
AddHandler instance.PrePaint, handler
add_PrePaint(function(sender, e))
remove_PrePaint(function(sender, e))

Event Data

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

PropertyDescription
CellIndex Gets the value that indicates the index of the cell that is to be painted. This value is only valid if the cell is add to the MedicalViewer.
ClipRectangle (Inherited from System.Windows.Forms.PaintEventArgs)Gets the rectangle in which to paint.
Draw Gets or sets the value that indicates whether to make the control draw the sub-cell. This is used only with the Leadtools.MedicalViewer.MedicalViewerCell.PrePaint event.
Graphics (Inherited from System.Windows.Forms.PaintEventArgs)Gets the graphics used to paint.
ImageRectangle Gets the rectangle that represents the image rectangle for the cell or sub-cell.
SubCellIndex Gets the value that indicates the index of the sub-cell that is to be painted.
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

MedicalViewerCell Class
MedicalViewerCell 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