Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Annotations.Designers Assembly > Leadtools.Annotations.Designers Namespace > AnnEditDesigner Class : Move Method |
'Declaration
Protected Overridable Sub Move( _ ByVal offsetX As Double, _ ByVal offsetY As Double _ )
'Usage
Dim instance As AnnEditDesigner Dim offsetX As Double Dim offsetY As Double instance.Move(offsetX, offsetY)
- (void)moveOffsetX:(double)offsetX offsetY:(double)offsetY
protected void move( double offsetX, double offsetY )
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:
[C#]
// Translate the target object
this.TargetObject.Translate(offsetX, offsetY);
For more information and an example, refer to Implement User Defined Objects with LEADTOOLS Annotations