ImageGear .NET
ManageCursor Method (ImGearARTFormsMarkController)




The mark the mouse is over.
The position of the mouse (in device pixels).
The mark controller data.
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
'Declaration
 
Public Overridable Sub ManageCursor( _
   ByVal mark As ImGearARTMark, _
   ByVal mousePoint As ImGearPoint, _
   ByVal markControllerData As ImGearARTFormsMarkControllerData _
) 
'Usage
 
Dim instance As ImGearARTFormsMarkController
Dim mark As ImGearARTMark
Dim mousePoint As ImGearPoint
Dim markControllerData As ImGearARTFormsMarkControllerData
 
instance.ManageCursor(mark, mousePoint, markControllerData)
public virtual void ManageCursor( 
   ImGearARTMark mark,
   ImGearPoint mousePoint,
   ImGearARTFormsMarkControllerData markControllerData
)
public: virtual void ManageCursor( 
   ImGearARTMark* mark,
   ImGearPoint mousePoint,
   ImGearARTFormsMarkControllerData* markControllerData
) 
public:
virtual void ManageCursor( 
   ImGearARTMark^ mark,
   ImGearPoint mousePoint,
   ImGearARTFormsMarkControllerData^ markControllerData
) 

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

Reference

ImGearARTFormsMarkController Class
ImGearARTFormsMarkController Members

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback