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

OnMouseRightClick

Description

Fired when the mouse right clicks on an image.

Syntax

Object_OnMouseRightClick(Short sImageIndex)

Remarks

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

See Also

OnMouseMove Event, OnMouseDoubleClick Event, OnMouseClick Event, OnImageAreaSelected Event, OnImageAreaDeSelected Event

Sample

A JavaScript sample is provided.

<script language="javascript">

function OnMouseRightClickFunction(index) {
  //add your code here. This code snippet will be executed when the mouse right clicks on a specified image.
}

</script>

<script language=javascript for=DynamicWebTwain1 event=OnMouseRightClick(index)>
 
   OnMouseRightClickFunction(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.