---
title: "VObject..::.DragPoint Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_VObject_DragPoint_2_7ef0b11b.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# VObject.DragPoint Method 
 
Moves a control point to a new position.
 
**Namespace:** [Aurigma.GraphicsMill.WinControls](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
 **Assembly:** Aurigma.GraphicsMill.WinControls.VectorObjects (in Aurigma.GraphicsMill.WinControls.VectorObjects.dll)
 
## Syntax
  
```
Public Sub DragPoint ( _index As Integer, _newPosition As PointF _
)
```
 
```csharp
public void DragPoint(int index,PointF newPosition
)
```
 
### Parameters
 
 - index
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Index of the point to drag in the [ControlPoints](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_WinControls_IControlPointsProvider_ControlPoints.htm.md) collection.

 - newPosition
     - Type: [System.Drawing.PointF](http://msdn2.microsoft.com/en-us/ckys1c1e)
Destination coordinates of the control point.
 
### Implements
 
[IControlPointsProvider.DragPoint(Int32, PointF)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_WinControls_IControlPointsProvider_DragPoint_2_7ef0b11b.htm.md)
   
## See Also

### Reference

- [VObject Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_WinControls_VObject.htm.md)
- [Aurigma.GraphicsMill.WinControls Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_WinControls.htm.md)
