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



controlPointIndex
An integer that represents the index of the control point to move.
newPos
A Pointstructure that represents the new position of the control point.
controlPointIndex
An integer that represents the index of the control point to move.
newPos
A Pointstructure that represents the new position of the control point.
AnnPointEditDesigner implementation of AnnEditDesigner.MoveControlPoint.

Syntax

Visual Basic (Declaration) 
Overrides Protected Sub MoveControlPoint( _
   ByVal controlPointIndex As Integer, _
   ByVal newPos As Point _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnPointEditDesigner
Dim controlPointIndex As Integer
Dim newPos As Point
 
instance.MoveControlPoint(controlPointIndex, newPos)
C# 
protected override void MoveControlPoint( 
   int controlPointIndex,
   Point newPos
)
C++/CLI 
protected:
void MoveControlPoint( 
   int controlPointIndex,
   Point newPos
) override 

Parameters

controlPointIndex
An integer that represents the index of the control point to move.
newPos
A Pointstructure that represents the new position of the control point.

Remarks

This method is called when the user clicks and drags one of the Thumb of this AnnEditDesigner. Derived classes should override this method and provide the necessary functionality to update the edited object coordinates.

Requirements

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

See Also

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