LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

MoveControlPoint Method (AnnEditDesigner)






An integer that represents the index of the control point to move.
An AnnPoint structure that represents the new position of the control point.
Moves a control point.
Syntax
protected virtual void MoveControlPoint( 
   int controlPointIndex,
   AnnPoint pt
)
'Declaration
 
Protected Overridable Sub MoveControlPoint( _
   ByVal controlPointIndex As Integer, _
   ByVal pt As AnnPoint _
) 
'Usage
 
Dim instance As AnnEditDesigner
Dim controlPointIndex As Integer
Dim pt As AnnPoint
 
instance.MoveControlPoint(controlPointIndex, pt)
protected virtual void MoveControlPoint( 
   int controlPointIndex,
   AnnPoint pt
)
 function Leadtools.Annotations.AnnEditDesigner.MoveControlPoint( 
   controlPointIndex ,
   pt 
)
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.
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.
Example
For more information and an example, refer to the Implement User Defined Objects with LEADTOOLS Annotations
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnEditDesigner Class
AnnEditDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.