LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
Move Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnEditDesigner Class : Move Method



dx
The horizontal offset to be used when moving the object.
dy
The vertical offset to be used when moving the object.

The Move Method supports WPF/Silverlight.

The Move Method is available in LEADTOOLS Document and Medical Imaging toolkits.

dx
The horizontal offset to be used when moving the object.
dy
The vertical offset to be used when moving the object.
Moves the object. Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub Move( _
   ByVal dx As Double, _
   ByVal dy As Double _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnEditDesigner
Dim dx As Double
Dim dy As Double
 
instance.Move(dx, dy)
C# 
protected virtual void Move( 
   double dx,
   double dy
)
C++/CLI 
protected:
virtual void Move( 
   double dx,
   double dy
) 

Parameters

dx
The horizontal offset to be used when moving the object.
dy
The vertical offset to be used when moving the object.

Example

Remarks

This method is called when the user clicks and drags on the object itself of this AnnEditDesigner. Derived classes may override this method and provide the necessary functionality to update the edited object coordinates. The default implementation calls the AnnObject.Translate method.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

Move requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.