LEADTOOLS JavaScript (Leadtools.Annotations.Designers)

Move Method (AnnEditDesigner)

Show in webframe
The horizontal offset to be used when moving the object.
The vertical offset to be used when moving the object.
Moves the object.
Syntax
 function Leadtools.Annotations.Designers.AnnEditDesigner.move( 
   offsetX ,
   offsetY 
)

Parameters

ParameterTypeDescription
offsetXdoubleThe horizontal offset to be used when moving the object.
offsetYdoubleThe vertical offset to be used when moving the object.
Remarks

This method is called when the user clicks and drags the AnnEditDesigner 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:


            // 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

See Also

Reference

AnnEditDesigner Object
AnnEditDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.