ImageGear .NET v25.2 - Updated
MouseTool Enumeration

ImageGear.Web.UI Library > ImageGear.Web.UI Namespace : MouseTool Enumeration
Indicates what the viewer will do when a user uses the left mouse button.
Members
MemberDescription
CreateEllipseMark6 - Pressing the left mouse button and dragging will create an ellipse mark.
CreateFreehandMark9 - Pressing the left mouse button and dragging will create a freehand line mark.
CreateLineMark7 - Pressing the left mouse button and dragging will create a line mark.
CreatePolygonMark10 - Clicking the left mouse button multiple times will create a polygon mark. Double-click to finish creating the mark.
CreatePolylineMark8 - Clicking the left mouse button multiple times will create a polyline mark. Double-click to finish creating the mark.
CreateRectangleMark5 - Pressing the left mouse button and dragging will create a rectangle mark.
CreateTextMark11 - Pressing the left mouse button and dragging a rectangle will create a text mark.
EditMarks12 - Provides interactive editing of marks. 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.
HandPan3 - Pressing and moving the left mouse button will drag the image in the direction that the mouse is moved.
Magnifier1 - Pressing the left mouse button will display a magnifying glass. Moving the mouse will move the magnifying glass, and releasing the button will hide the magnifying glass.
None0 - The left mouse button will do nothing and the cursor will be the default browser cursor.
RectangleZoom2 - Pressing the left mouse button and dragging a rectangle will select an area. When you release the button, the viewer will immediately hide the selection and redisplay the image so the selected area fills the window. The cursor will be a crosshair.
RunMarks13 - 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 mouseEventArgs object.
Select4 - 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.
Remarks
This enumeration indicates how the viewer should act when a user interacts with it using a mouse. Each of these tools will determine a cursor and the behavior of the left mouse button.
Inheritance Hierarchy

Object
   ImageGear.Web.UI.MouseTool

See Also

Reference

ImageGear.Web.UI Namespace

Is this page helpful?
Yes No
Thanks for your feedback.