This event is triggered when the mouse double clicks on an image in an image viewer.

Data Type



ImageViewerObject.ui.onmousedoubleclick= ...;


var imageviewer = DCSObject.getImageViewer("ImageViewerContainer");  // Get a specified image viewer

imageViewer.ui.onmousedoubleclick = onMouseDoubleClick;

function onMouseDoubleClick(imageIndex, mouseX, mouseY) {

    ///<int> imageIndex: The index of the image that the mouse click on. The index is 0-based.
    ///<int> mouseX: The X co-ordinate of the mouse on the image.
    ///<int> mouseY: the Y co-ordinate of the mouse on the image.

    //define your own mouse double click event here.

See Also


Is this page helpful?

Leave a Reply

Your email address will not be published.