ImageGear .NET - Updated
MouseTool Enumeration




ImageGear23.Web Assembly > ImageGear.Web.UI Namespace : MouseTool Enumeration
Option values used to determine mouse tool selected. Each of these tools will determine a cursor and the behavior of the left mouse button. This enumeration indicates how the viewer should act when a user interacts with it using a mouse.
Syntax
'Declaration
 
Public Enum MouseTool 
   Inherits System.Enum
'Usage
 
Dim instance As MouseTool
public enum MouseTool : System.Enum 
__value public enum MouseTool : public System.Enum 
public enum class MouseTool : public System.Enum 
Members
MemberDescription
CreateEllipseMark Pressing the left mouse button and dragging will create an ellipse mark.
CreateFreehandMark Pressing the left mouse button and dragging will create a freehand line mark.
CreateLineMark Pressing the left mouse button and dragging will create a line mark.
CreatePolygonMark Clicking the left mouse button multiple times will create a polygon mark.
CreatePolylineMark Clicking the left mouse button multiple times will create a polyline mark.
CreateRectangleMark Pressing the left mouse button and dragging will create a rectangle mark.
CreateTextMark Pressing the left mouse button and dragging a rectangle will create a text mark.
EditMarksProvides interactive editing of marks.

Action details:

Clicking outside of a mark, then dragging a rectangle will select all the marks that are wholly contained in the rectangle (and de-select all other marks). Clicking outside of a mark while holding the shift key, then dragging a rectangle will select all the marks that are wholly contained in the rectangle (and will not de-select all other marks). Clicking on an unselected mark will select the mark (and de-select all other marks). Clicking on a mark while holding the control or shift key will toggle the selected state of the mark. Clicking on a mark, then dragging will move the selected annotation(s). Clicking on a mark handle, will de-select all other marks. Clicking on a mark handle, then dragging will change the size or shape by moving that portion of the mark. Clicking on a mark handle while holding the control key, then dragging will change the size or shape of the mark and keep the center of the mark in its original location. Clicking on a corner mark handle while holding the shift key, then dragging will change the size of the mark and keep the aspect ratio unchanged. Double-clicking a text mark will select that mark, de-select all other marks, and switch the mark into text-entry mode.

HandPan Panning tool. Pressing and moving the left mouse button will drag the image in the direction that the mouse is moved.
Magnifier Magnifying window. Pressing the left mouse button displays magnifying glass. Moving the mouse while pressing the button will move the magnifying glass. On releasing the left mouse button the magnifying glass will hide.
None No MouseTool is selected. The left mouse button will do nothing and the cursor will be the default browser cursor.
RectangleZoom Zoom Rectangle Tool. Pressing the left mouse button and dragging the mouse will select a rectangular area on the image. Releasing the mouse button causes the selected rectangular area to be zoomed.
RunMarks The cursor over marks will be a "link" cursor and you can detect when a user clicks on a mark by looking at the mark property of the object.
Select Window selection tool. Pressing the left mouse button and dragging a rectangle will select an area. When you release the button, the selection will remain. This mouse tool is useful for supporting some operation that you will perform on a server, such as cropping or OCR.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         ImageGear.Web.UI.MouseTool

See Also

Reference

ImageGear.Web.UI Namespace