Fired when mouse selects an area on an image and the value of the MouseShape property is set to FALSE.
Object_OnImageAreaSelected(Short sImageIndex, Long Left, Long Top, Long Right, Long Bottom)
Short sImageIndex >=0. When the value of sImageIndex equals -1, it indicates that mouse is not on any image.
Long Left: the long point number for the left side of the rectangle are the mouse selects.
Long Top: the long point number for the top side of the rectangle are the mouse selects.
Long Right: the long point number for the right side of the rectangle are the mouse selects.
Long Bottom: the long point number for the bottom side of the rectangle are the mouse selects.
OnMouseClick Event, OnMouseDoubleClick Event, OnMouseRightClick Event, OnMouseMove Event, OnImageAreaDeSelected Event, Crop(), CropToClipboard()
A JavaScript sample is provided.
| <script language="javascript"> function OnImageAreaSelectedFunction(index) { //add your code here. This code snippet will be executed when the mouse selects an area on an image. } </script> <script language=javascript for=DynamicWebTwain1 event=OnImageAreaSelected(index)>
OnImageAreaSelectedFunction(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.