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

MoveControlPoint Method (AnnPointEditDesigner)

Show in webframe





An integer that represents the index of the control point to move.
A System.Windows.Pointstructure that represents the new position of the control point.
AnnPointEditDesigner 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 AnnPointEditDesigner
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
A 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

AnnPointEditDesigner Class
AnnPointEditDesigner Members

 

 


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