ImageGear for .NET
ManageCursor Method
See Also  Send Feedback
ImageGear21.Windows.Controls.Art Assembly > ImageGear.Windows.Controls Namespace > ImGearAnnotatorRectangleController Class : ManageCursor Method




mark
The mark the mouse is over.
mousePoint
The position of the mouse (in device pixels).
markControllerData
The mark controller data.

Glossary Item Box

Method that is called to update the mouse cursor, set an ID for which point of the mark the mouse is currently over, and set the type of resizing to use for that point.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

mark
The mark the mouse is over.
mousePoint
The position of the mouse (in device pixels).
markControllerData
The mark controller data.

Remarks

This method checks if the mouse is over a point in your custom mark. If it is, the markControllerData parameter is updated so that the Cursor property is set to the Hand cursor and the Hand cursor displays. The ID of the point the cursor is over is set, and the type of resizing to perform for the point is set. If the mouse is clicked, the specified point ID and resize type will be passed to the ImGearAnnotatorMarkController.Resize method, which can use this information to modify the size of the mark or the position of a point in the mark. You must override the UpdateBounds method to enable resizing your custom mark.

See Also

©2013. Accusoft Corporation. All Rights Reserved.