Occurs when an error happens during rendering.
public event EventHandler<ImageViewerRenderEventArgs> RenderError
Public Event RenderError As EventHandler(Of Leadtools.Controls.ImageViewerRenderEventArgs)
public:
event EventHandler<Leadtools::Controls::ImageViewerRenderEventArgs^>^ RenderError
Rendering of the ImageViewer control normally occurs automatically and not through any code called by the user. If an error occur, the user does not have the ability to try/catch the exception and process the error. Therefore, ImageViewer contains the RenderError events. This will occur when an error happens in the internal rendering cycle. The event uses the same ImageViewerRenderEventArgs data class, so all the usual parameters of what item and part caused the error are passed to the user. In addition, it will catch the error and set it in the ImageViewerRenderEventArgs.Error property.
For more information, refer to Image Viewer Rendering.
Parameter | Type | Description |
---|---|---|
sender | object | The source of the event. |
e | ImageViewerRenderEventArgs | The event data. |
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