Error processing SSI file
(Leadtools.Controls)

Show in webframe

RenderItemRegion Event




Renders the item region.
Syntax
public event EventHandler<ImageViewerRenderEventArgs> RenderItemRegion
'Declaration
 
Public Event RenderItemRegion As EventHandler(Of ImageViewerRenderEventArgs)
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

During this part of the rendering cycle, the viewer will check if the image of this item contains a valid region. If this is true and the value of ImageRegionRenderMode is other than ControlRegionRenderMode.None then the viewer will render the outline of the region on top of the image.

For more information, refer to Image Viewer Rendering.

ImageViewerRenderEventArgs
Example

For an example, refer to PostRender.

Requirements

Target Platforms

See Also

Reference

ImageViewer Class
ImageViewer Members

Error processing SSI file