renderItemRegion Event (ImageViewer)

Summary

Renders the item region.

Syntax

JavaScript Syntax
Object.defineProperty(ImageViewer.prototype,'renderItemRegion',  
	get: function(), 
	set: function(value) 
) 
function renderItemRegion.add(function(sender, e)); 
function renderItemRegion.remove(function(sender, e)); 
TypeScript Syntax
renderItemRegion: void;

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
sendervarThe 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 Assembly
Click or drag to resize