The MedicalViewerPaintEventArgs Constructor is available as an add-on to the LEADTOOLS Medical Imaging toolkits.
Initializes a new instance of the MedicalViewerPaintEventArgs class.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 New MedicalViewerPaintEventArgs(graphics, clipRectangle, cellIndex, subCellIndex) |
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 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.
For an example, refer to MedicalViewerCell.CustomPaint
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7