Leadtools.Controls Namespace > ImageViewer Object : RenderItemRegion Event |
add_renderItemRegion(function(sender, e)) renderItemRegion.add(function(sender, e)) remove_renderItemRegion(function(sender, e)) renderItemRegion.remove(function(sender, e))
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.
For an example, refer to PostRender.
Parameter | Type | Description |
---|---|---|
sender | 'var' | The source of the event. |
e | ImageViewerRenderEventArgs | The event data. |