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



dx
The horizontal offset to be used when moving the object's header.
dy
The vertical offset to be used when moving the object's header.
dx
The horizontal offset to be used when moving the object's header.
dy
The vertical offset to be used when moving the object's header.
Moves the object's header.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub MoveHeader( _
   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.MoveHeader(dx, dy)
C# 
protected virtual void MoveHeader( 
   double dx,
   double dy
)
C++/CLI 
protected:
virtual void MoveHeader( 
   double dx,
   double dy
) 

Parameters

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

Example

Remarks

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

Requirements

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

See Also

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