The MoveControlPoint Method supports WPF/Silverlight.
The MoveControlPoint Method is available in LEADTOOLS Document and Medical Imaging toolkits.
- controlPointIndex
- An integer that represents the index of the control point to move.
- newPos
- A System.Windows.Point structure that represents the new position of the control point.
Visual Basic (Declaration) | |
---|---|
Protected MustOverride Sub MoveControlPoint( _ ByVal controlPointIndex As Integer, _ ByVal newPos As Point _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnEditDesigner Dim controlPointIndex As Integer Dim newPos As Point instance.MoveControlPoint(controlPointIndex, newPos) |
C# | |
---|---|
protected abstract void MoveControlPoint( int controlPointIndex, Point newPos ) |
C++/CLI | |
---|---|
protected: abstract void MoveControlPoint( int controlPointIndex, Point newPos ) |
Parameters
- controlPointIndex
- An integer that represents the index of the control point to move.
- newPos
- A System.Windows.Point structure that represents the new position of the control point.
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.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)