Dynamic Web TWAIN  - TWAIN ActiveX/Plug-in, Scanner COM Control
TWAIN ActiveX/Plug-in HTTP Control/SDK

OnTopImageInTheViewChanged

Description

Fired when the top image currently displayed in Dynamic Web TWAIN is changed and the view mode is NOT set to -1 by -1.

Syntax

Object_OnTopImageInTheViewChanged(Short sImageIndex)

Remarks

Short sImageIndex >=0. When the value of sImageIndex equals -1, it indicates that there is no image in buffer.

See Also

OnMouseMove Event, OnMouseDoubleClick Event, OnMouseClick Event, OnMouseRightClick Event, SetViewMode()

Sample

A JavaScript sample is provided.

<script language="javascript">

function OnTopImageInTheViewChangedFunction(index) {
  //add your code here. This code snippet will be executed
when the top image currently displayed in Dynamic Web TWAIN is changed.
}

</script>

<script language=javascript for=DynamicWebTwain1 event=OnTopImageInTheViewChanged(index)>
 
   OnTopImageInTheViewChangedFunction(index);
 
</script>


 













TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2011 Dynamsoft Corporation. All Rights Reserved.