←Select platform

MoveThumb Method

Summary
Moves a thumb.
Syntax
C#
Objective-C
C++/CLI
Java
Python
protected virtual void MoveThumb( 
   int thumbIndex, 
   LeadPointD offset 
) 
- (void)moveThumbAtIndex:(NSUInteger)thumbIndex toOffset:(LeadPointD)point 
protected void moveThumb( 
  int thumbIndex,  
  LeadPointD offset 
) 
protected:  
   virtual void MoveThumb( 
      Int32 thumbIndex, 
      LeadPointD^ offset 
   ) 
def MoveThumb(self,thumbIndex,offset): 

Parameters

thumbIndex
Index of the thumb to move.

offset
The new position of the thumb.

Remarks

This method is called when the user clicks and drags one of the thumb objects of this AnnEditDesigner. Derived classes should override this method and provide the necessary functionality to update the coordinates of the object being edited.The default implementation is an empty function.

For more information and an example, refer to Implement User-Defined Annotations - WinForms C# .NET 6

Requirements

Target Platforms

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

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