Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
MoveName Method
See Also 
Leadtools.Annotations Namespace > AnnEditDesigner Class : MoveName Method



size
An AnnSize structure which represents the offset to be used when moving the object's name.
size
An AnnSize structure which represents the offset to be used when moving the object's name.
Moves the object's name.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub MoveName( _
   ByVal size As AnnSize _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnEditDesigner
Dim size As AnnSize
 
instance.MoveName(size)
C# 
protected virtual void MoveName( 
   AnnSize size
)
C++/CLI 
protected:
virtual void MoveName( 
   AnnSize size
) 

Parameters

size
An AnnSize structure which represents the offset to be used when moving the object's name.

Example

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

Remarks

This method is called when the user clicks and drags on the name of the object of this AnnEditDesigner. Derived classes may override this method and provide the necessary functionality to update the edited object name coordinates. The default implementation modifies the value of the AnnObject.NameOffset property.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features