Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Controls Assembly > Leadtools.Controls Namespace > ImageViewer Class : PreRender Event |
public event EventHandler<ImageViewerRenderEventArgs> PreRender
'Declaration
Public Event PreRender As EventHandler(Of ImageViewerRenderEventArgs)
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.
Property | Description |
---|---|
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 |
For more information, refer to Image Viewer Rendering.
ImageViewerRenderEventArgsFor an example, refer to PostRender.