Hi Kieren,
The image you selected will be highlighted in the DWT control.
CurrentImageIndexInBuffer can give the information you need. To set the selected image as the current image in DWT, you can call CurrentImageIndexInBuffer in the
OnMouseClick event. The event is fired when the mouse clicks on an image.
http://www.dynamsoft.com/help/TWAIN/Web ... eClick.htmBelow is a simple sample for you:
Code:
<script language="javascript">
function OnMouseClickFunction(index)
{
frmScan.DynamicWebTwain1.CurrentImageIndexInBuffer=index;
}
</script>
<script language=javascript for=DynamicWebTwain1 event=OnMouseClick(index)>
OnMouseClickFunction(index);
</script>
Thanks.