←Select platform

AnnCursorEventArgs Constructor

Summary
Initializes a new instance of AnnCursorEventArgs with the specified parameters.
Syntax
C#
Objective-C
C++/CLI
Java
Python
- (instancetype)initWithId:(NSInteger)iD type:(LTAnnDesignerType)type thumbIndex:(NSUInteger)thumbIndex isRotateCenter:(BOOL)isRotateCenter isRotateGripper:(BOOL)isRotateGripper pointerEvent:(LTAnnPointerEventArgs *)pointerEvent dragDropEvent:(LTAnnDragDropEventArgs *)dragDropEvent; 
public AnnCursorEvent(Object source, int id, AnnDesignerType type, int thumbIndex, boolean isRotateCenter, boolean isRotateGripper, AnnPointerEvent pointerEvent, AnnDragDropEvent dragDropEvent) 
__init__(self,id,type,thumbIndex,isRotateCenter,isRotateGripper,pointerEvent,dragDropEvent) # Overloaded constructor 

Parameters

id
The id of the current AnnAutomationObject.

type
The designer type

thumbIndex
0-based thumb index if the cursor is on a thumb. Or -1 if not.

isRotateCenter
true if the cursor is on the rotate center.

isRotateGripper
true if the cursor is on the rotate gripper.

pointerEvent
The original AnnPointerEventArgs that triggered this event, if any.

dragDropEvent
The original AnnDragDropEventArgs that triggered this event, if any.

Requirements

Target Platforms

Help Version 22.0.2023.4.25
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.