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




controlPointIndex
An integer that represents the index of the control point to move.
pt
An AnnPoint structure that represents the new position of the control point.
Moves a control point.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub MoveControlPoint( _
   ByVal controlPointIndex As Integer, _
   ByVal pt As AnnPoint _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnEditDesigner
Dim controlPointIndex As Integer
Dim pt As AnnPoint
 
instance.MoveControlPoint(controlPointIndex, pt)
C# 
protected virtual void MoveControlPoint( 
   int controlPointIndex,
   AnnPoint pt
)
Managed Extensions for C++ 
protected: virtual void MoveControlPoint( 
   int controlPointIndex,
   AnnPoint pt
) 
C++/CLI 
protected:
virtual void MoveControlPoint( 
   int controlPointIndex,
   AnnPoint pt
) 

Parameters

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

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 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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