←Select platform

MoveThumb Method

Summary

Moves a thumb.

Syntax
C#
VB
Objective-C
C++
Java
protected virtual void MoveThumb( 
   int thumbIndex, 
   LeadPointD offset 
) 
Protected Overridable Sub MoveThumb( _ 
   ByVal thumbIndex As Integer, _ 
   ByVal offset As LeadPointD _ 
)  
- (void)moveThumbAtIndex:(NSUInteger)thumbIndex toOffset:(LeadPointD)point 
protected void moveThumb( 
  int thumbIndex,  
  LeadPointD offset 
) 
protected:  
   virtual void MoveThumb( 
      Int32 thumbIndex, 
      LeadPointD^ 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 Objects with LEADTOOLS Annotations

Requirements

Target Platforms

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

Leadtools.Annotations.Designers Assembly