OnTopImageInTheViewChanged

Description

This event is triggered when the top image currently displayed in Dynamic Web TWAIN viewer changes.

Syntax

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

Remarks

The returned value sImageIndex means the index of the top image. When sImageIndex equals -1, it indicates that there is no image in buffer.

Example

DWObject.RegisterEvent('OnTopImageInTheViewChanged', function(sImageIndex){
    alert(sImageIndex);
});
Is this page helpful?

Leave a Reply

Your email address will not be published.