---
title: "LineVObject Constructor (PointF, PointF)"
canonical: https://www.graphicsmill.com/docs/gmwc/C_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LineVObject_ctor_2_1fdcb7ff.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**You’re viewing documentation for an outdated product.** Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see [Design Atoms .NET](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/design-editor/).

# LineVObject Constructor (PointF, PointF)

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
Creates and initializes an instance of the [PolylineVObject](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_PolylineVObject.htm.md) class using the specified points.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```csharp
public LineVObject(PointF p1,PointF p2
)
```
 
### Parameters
 
 - p1
     - Type: [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math..PointF](https://www.graphicsmill.com/docs/gmwc/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/gmwc/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_PointF.htm.md)
The end point.
   
## See Also

### Reference

- [LineVObject Class](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LineVObject.htm.md)
- [LineVObject Overload](https://www.graphicsmill.com/docs/gmwc/O_T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_LineVObject_ctor.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
