---
title: "LineVObject Constructor (PointF, PointF)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LineVObject_ctor_2_1fdcb7ff.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/)

# LineVObject Constructor (PointF, PointF)
 
Creates and initializes an instance of the [PolylineVObject](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_PolylineVObject.htm.md) class using the specified points.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```
Public Sub New ( _p1 As PointF, _p2 As PointF _
)
```
 
```csharp
public LineVObject(PointF p1,PointF p2
)
```
 
### Parameters
 
 - p1
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math.PointF](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_PointF.htm.md)
The start point.

 - p2
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math.PointF](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_PointF.htm.md)
The end point.
   
## See Also

### Reference

- [LineVObject Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LineVObject.htm.md)
- [LineVObject Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LineVObject_ctor.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
