OnImageAreaDeSelected

Description

This event is triggered when user deselects an area (clicks outside of the drawn rectangle) on an image in Dynamic Web TWAIN viewer.

Syntax

.RegisterEvent('OnImageAreaDeSelected',function(sImageIndex){...});

Parameters

<short> sImageIndex: the index of the image. It should be >=0. When it is -1, it means the mouse is not on any image.

See Also

OnMouseRightClick
OnMouseMove
OnMouseDoubleClick
OnMouseClick
OnImageAreaSelected

Example

DWObject.RegisterEvent('OnImageAreaDeSelected', function(sImageIndex){
    alert('The selected area on the image with index' + sImageIndex + 'has been deselected');
});