Optional delegate method for additional processing.
public event EventHandler<MedicalViewerPaintInformationEventArgs> PrePaint
Public Event PrePaint As EventHandler(Of MedicalViewerPaintInformationEventArgs)
public:
event EventHandler<MedicalViewerPaintInformationEventArgs^>^ PrePaint
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.
Property | Description |
---|---|
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 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. |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document