←Select platform

RenderItemRegion Event (ImageViewer)

Summary

Renders the item region.

Syntax

C#
VB
C++
public event EventHandler<Leadtools.Controls.ImageViewerRenderEventArgs> RenderItemRegion 
Public Event RenderItemRegion As EventHandler(Of Leadtools.Controls.ImageViewerRenderEventArgs) 
public:  
   event EventHandler<Leadtools::Controls::ImageViewerRenderEventArgs^>^ RenderItemRegion 

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.

Example

For an example, refer to PostRender.

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

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls.WinForms Assembly
Click or drag to resize