Leadtools.MedicalViewer Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
MedicalViewerPaintEventArgs Constructor
See Also 
Leadtools.MedicalViewer Namespace > MedicalViewerPaintEventArgs Class : MedicalViewerPaintEventArgs Constructor




graphics
The Graphics used to paint the item.
clipRectangle
The 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 index of the sub-cell that that the user tag will be drawn on.
Initializes a new instance of the MedicalViewerPaintEventArgs class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal graphics As Graphics, _
   ByVal clipRectangle As Rectangle, _
   ByVal cellIndex As Integer, _
   ByVal subCellIndex As Integer _
)
Visual Basic (Usage)Copy Code
Dim graphics As Graphics
Dim clipRectangle As Rectangle
Dim cellIndex As Integer
Dim subCellIndex As Integer
 
Dim instance As MedicalViewerPaintEventArgs(graphics, clipRectangle, cellIndex, subCellIndex)
C# 
public MedicalViewerPaintEventArgs( 
   Graphics graphics,
   Rectangle clipRectangle,
   int cellIndex,
   int subCellIndex
)
Managed Extensions for C++ 
public: MedicalViewerPaintEventArgs( 
   Graphics graphics,
   Rectangle clipRectangle,
   int cellIndex,
   int subCellIndex
)
C++/CLI 
public:
MedicalViewerPaintEventArgs( 
   Graphics graphics,
   Rectangle clipRectangle,
   int cellIndex,
   int subCellIndex
)

Parameters

graphics
The Graphics used to paint the item.
clipRectangle
The 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 index of the sub-cell that that the user tag will be drawn on.

Example

For an example, refer to CustomPaint

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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