Error processing SSI file
(Leadtools.Controls)

Show in webframe

RenderError Event




Occurs when an error happens during rendering.
Syntax
Event Data

The event handler receives an argument of type ImageViewerRenderEventArgs containing data related to this event. The following ImageViewerRenderEventArgs properties provide information specific to this event.

PropertyDescription
Context Current graphics context associated with this object.
Error Error that might have occurred during rendering.
Item Item to render
PaintEventArgs Native paint event arguments associated with this object
Part Item part to render
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.

ImageViewerRenderEventArgs
Requirements

Target Platforms

See Also

Reference

ImageViewer Class
ImageViewer Members

Error processing SSI file