←Select platform

RenderError Event

Summary

Occurs when an error happens during rendering.

Syntax
C#
C++/CLI
public event EventHandler<ImageViewerRenderEventArgs> RenderError 
public:  
   event EventHandler<Leadtools::Controls::ImageViewerRenderEventArgs^>^ RenderError 
Remarks

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.

Event Data
ParameterTypeDescription
senderobjectThe source of the event.
eImageViewerRenderEventArgsThe event data.
Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.