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



controlPointIndex
An integer that represents the index of the control point to move.
pt
An AnnPointstructure that represents the new position of the control point.
controlPointIndex
An integer that represents the index of the control point to move.
pt
An AnnPointstructure that represents the new position of the control point.
AnnTextPointerEditDesigner implementation of AnnRectangleEditDesigner.MoveControlPoint.

Syntax

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

Parameters

controlPointIndex
An integer that represents the index of the control point to move.
pt
An AnnPointstructure that represents the new position of the control point.

Remarks

This method is called when the user clicks and drags one of the AnnControlPoint 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 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