## PsDocument::DrawLine method


Draws a line segment.

```cpp
void Aspose::Page::EPS::PsDocument::DrawLine(double x1, double y1, double x2, double y2)
```


| Parameter | Type | Description |
| --- | --- | --- |
| x1 | double | X coordinate of the beginning of segment. |
| y1 | double | Y coordinate of the beginning of segment. |
| x2 | double | X coordinate of the end of segment. |
| y2 | double | Y coordinate of the end of segment. |

## See Also

* Class [PsDocument](../)
* Namespace [Aspose::Page::EPS](../../)
* Library [Aspose.Page for C++](../../../)
