Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.29
|
Leadtools.Annotations.Automation Assembly > Leadtools.Annotations.Automation Namespace > AnnAutomation Class : SetCursor Event |
public event EventHandler<AnnCursorEventArgs> SetCursor
'Declaration
Public Event SetCursor As EventHandler(Of AnnCursorEventArgs)
public event EventHandler<AnnCursorEventArgs> SetCursor
OSX Only: -(void) automation:(LTAnnAutomation*) automation setCursor:(LTAnnCursorEventArgs*) e;
add_SetCursor(function(sender, e)) remove_SetCursor(function(sender, e))
The event handler receives an argument of type AnnCursorEventArgs containing data related to this event. The following AnnCursorEventArgs properties provide information specific to this event.
Property | Description |
---|---|
DesignerType | Gets the designer type. |
DragDropEvent | Gets the drag/drop event data that triggered this event. |
Id | Gets the id of the current AnnAutomationObject. |
IsRotateCenter | Gets a value that indicates whether the cursor is on the rotate center. |
IsRotateGripper | Gets a value that indicates whether the cursor is on the rotate gripper. |
PointerEvent | Gets the original pointer event data that triggered this event. |
ThumbIndex | Gets the 0-based thumb index. |
This event occur when the user moves the mouse around on top of this AnnAutomation surface. The event data will let the user know what type of cursor (if any) must be applied.