ImageGear for .NET
ManageCursor Method
See Also  Send Feedback
ImageGear21.Art.Forms Assembly > ImageGear.ART.Forms Namespace > ImGearARTFormsMarkController 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

You can override this method to check if the mouse is over a point in your custom mark. If it is, you can set the cursor parameter to specify which cursor to display, and you can set the ID of the point the cursor is over and the type of resizing to perform for the point. If the mouse is clicked, the specified point ID and resize type will be passed to the ImGearARTFormsMarkController.Resize method, which can use this information to modify the size of the mark or the position of a point in the mark. By default the point ID is set to -1 and the resize type is set to Point.

See Also

©2013. Accusoft Corporation. All Rights Reserved.