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



graphics
The System.Drawing.Graphics used to paint the cell or the sub-cell.
rectangle
The System.Drawing.Rectangle that represents the rectangle in which to paint.
imageRectangle
The System.Drawing.Rectangle that represents the image rectangle for the cell or sub-cell.
cellIndex
The zero-based index of the cell that is to be painted.
subCellIndex
The zero-based index of the sub-cell that is to be painted.

The MedicalViewerPaintInformationEventArgs Constructor is available as an add-on to the LEADTOOLS Medical Imaging toolkits.

Initializes a new instance of the MedicalViewerPaintInformationEventArgs class with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal graphics As Graphics, _
   ByVal rectangle As Rectangle, _
   ByVal imageRectangle As Rectangle, _
   ByVal cellIndex As Integer, _
   ByVal subCellIndex As Integer _
)
Visual Basic (Usage)Copy Code
Dim graphics As Graphics
Dim rectangle As Rectangle
Dim imageRectangle As Rectangle
Dim cellIndex As Integer
Dim subCellIndex As Integer
 
Dim instance As New MedicalViewerPaintInformationEventArgs(graphics, rectangle, imageRectangle, cellIndex, subCellIndex)
C# 
public MedicalViewerPaintInformationEventArgs( 
   Graphics graphics,
   Rectangle rectangle,
   Rectangle imageRectangle,
   int cellIndex,
   int subCellIndex
)
C++/CLI 
public:
MedicalViewerPaintInformationEventArgs( 
   Graphics^ graphics,
   Rectangle rectangle,
   Rectangle imageRectangle,
   int cellIndex,
   int subCellIndex
)

Parameters

graphics
The System.Drawing.Graphics used to paint the cell or the sub-cell.
rectangle
The System.Drawing.Rectangle that represents the rectangle in which to paint.
imageRectangle
The System.Drawing.Rectangle that represents the image rectangle for the cell or sub-cell.
cellIndex
The zero-based index of the cell that is to be painted.
subCellIndex
The zero-based index of the sub-cell that is to be painted.

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