---
title: "LineVObject Constructor (Single, Single, Single, Single)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LineVObject_ctor_4_c2e5c03f.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 (Single, Single, Single, Single)
 
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 ( _x1 As Single, _y1 As Single, _x2 As Single, _y2 As Single _
)
```
 
```csharp
public LineVObject(float x1,float y1,float x2,float y2
)
```
 
### Parameters
 
 - x1
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
The x-coordinate of the start point.

 - y1
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
The y-coordinate of the start point.

 - x2
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
The x-coordinate of the end point.

 - y2
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
The y-coordinate of 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)
