←Select platform

Move Method

Summary
Moves the object.
Syntax
C#
VB
Objective-C
C++
Java
protected override void Move( 
   double offsetX, 
   double offsetY 
) 
Protected Overrides Sub Move( _ 
   ByVal offsetX As Double, _ 
   ByVal offsetY As Double _ 
)  
-(void) moveOffsetX:(double)offsetX  
            offsetY:(double)offsetY; 
protected void move( 
  double offsetX,  
  double offsetY 
) 
protected:  
   virtual void Move( 
      double offsetX, 
      double offsetY 
   ) override 

Parameters

offsetX
The horizontal offset to be used when moving the object.

offsetY
The vertical offset to be used when moving the object.

Remarks

This method is called when the user clicks and drags the AnnTextReviewEditDesigner object itself. Derived classes may override this method and provide the necessary functionality to update the coordinates of the object being edited. The default implementation is as follows:

C# Snippet
// Translate the target object 
this.TargetObject.Translate(offsetX, offsetY); 

Example

For more information and an example, refer to Implement User Defined Objects with LEADTOOLS Annotations

Requirements

Target Platforms

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

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