LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)
LEAD Technologies, Inc

MoveControlPoint Method (AnnProtractorEditDesigner)






An integer that represents the index of the control point to move.
An System.Windows.Pointstructure that represents the new position of the control point.
AnnProtractorEditDesigner implementation of AnnEditDesigner.MoveControlPoint. .NET support Silverlight support
Syntax
protected override void MoveControlPoint( 
   int controlPointIndex,
   Point newPos
)
'Declaration
 
Protected Overrides Sub MoveControlPoint( _
   ByVal controlPointIndex As Integer, _
   ByVal newPos As Point _
) 
'Usage
 
Dim instance As AnnProtractorEditDesigner
Dim controlPointIndex As Integer
Dim newPos As Point
 
instance.MoveControlPoint(controlPointIndex, newPos)
protected override void MoveControlPoint( 
   int controlPointIndex,
   Point newPos
)
 function Leadtools.Windows.Annotations.AnnProtractorEditDesigner.MoveControlPoint( 
   controlPointIndex ,
   newPos 
)
protected:
void MoveControlPoint( 
   int controlPointIndex,
   Point newPos
) override 

Parameters

controlPointIndex
An integer that represents the index of the control point to move.
newPos
An System.Windows.Pointstructure that represents the new position of the control point.
Remarks
This method is called when the user clicks and drags one of the System.Windows.Controls.Primitives.Thumb of this AnnEditDesigner. Derived classes should override this method and provide the necessary functionality to update the edited object coordinates.
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

AnnProtractorEditDesigner Class
AnnProtractorEditDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices

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