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

MedicalViewerPaintEventArgs Constructor (MedicalViewerPaintEventArgs)






The System.Drawing.Graphics used to paint the item.
The System.Drawing.Rectangle that represents the rectangle in which to paint.
the index of the cell that that the user tag will be drawn on.
The zero-based index of the sub-cell that that the user tag will be drawn on.
Initializes a new instance of the MedicalViewerPaintEventArgs class.
Syntax
public MedicalViewerPaintEventArgs( 
   Graphics graphics,
   Rectangle clipRectangle,
   int cellIndex,
   int subCellIndex
)
'Declaration
 
Public Function New( _
   ByVal graphics As Graphics, _
   ByVal clipRectangle As Rectangle, _
   ByVal cellIndex As Integer, _
   ByVal subCellIndex As Integer _
)
'Usage
 
Dim graphics As Graphics
Dim clipRectangle As Rectangle
Dim cellIndex As Integer
Dim subCellIndex As Integer
 
Dim instance As New MedicalViewerPaintEventArgs(graphics, clipRectangle, cellIndex, subCellIndex)
public MedicalViewerPaintEventArgs( 
   Graphics graphics,
   Rectangle clipRectangle,
   int cellIndex,
   int subCellIndex
)
function MedicalViewerPaintEventArgs( 
   graphics ,
   clipRectangle ,
   cellIndex ,
   subCellIndex 
)
public:
MedicalViewerPaintEventArgs( 
   Graphics^ graphics,
   Rectangle clipRectangle,
   int cellIndex,
   int subCellIndex
)

Parameters

graphics
The System.Drawing.Graphics used to paint the item.
clipRectangle
The System.Drawing.Rectangle that represents the rectangle in which to paint.
cellIndex
the index of the cell that that the user tag will be drawn on.
subCellIndex
The zero-based index of the sub-cell that that the user tag will be drawn on.
Example
For an example, refer to Leadtools.MedicalViewer.MedicalViewerCell.CustomPaint
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

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