LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

MoveControlPoint Method (AnnProtractorEditDesigner)

Show in webframe





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.
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:
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

See Also

Reference

AnnProtractorEditDesigner Class
AnnProtractorEditDesigner Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.