Click or drag to resize

ImageViewOnMouseButtonDown Event

This event is fired whenever a mouse button is pressed while the mouse is over the ImageView.

Namespace:  Kofax.OmniPageCSDK.ToolBoxes
Assembly:  Kofax.OmniPageCSDK.ToolBoxes (in Kofax.OmniPageCSDK.ToolBoxes.dll) Version: 1.0.0.0
Syntax
public event ImageViewMouseButtonDownHandler OnMouseButtonDown

Value

Type: Kofax.OmniPageCSDK.ToolBoxesImageViewMouseButtonDownHandler
Remarks

MButton identifies the mouse button which raised the event. Value of 1 indicates the left button, value of 2 the right button.

PosX and PosY always returns Window coordinates. If you need the coordinates in a different coordinate mapping system, use one or more coordinate mapping methods. To learn more about the ImageView coordinate systems and the usage of this event, refer to the Coordinate Systems and Typical Use-Cases for Coordinate Transformations chapters in the documentation.

See Also