←Select platform

RenderItemRegion Event

Summary

Renders the item region.

Syntax
C#
VB
C++
public event EventHandler<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

Help Version 22.0.2021.8.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.