Can i draw a free line in GoView?

I want to draw a free line in GoView.
like in Microsoft Word:

this is my code, but i want to show an arrowhead at the end of the line.

public class DrawView:GoView
{
private PointF Origin = new PointF(0, 0);
private PointF End = new PointF(0, 0);
public override void DoMouseDown()
{
Origin = LastInput.DocPoint;
base.DoMouseDown();
}

    public override void DoMouseMove()
    {
        if (LastInput.Buttons == MouseButtons.Left)
        {
            End = LastInput.DocPoint;
        }
        base.DoMouseMove();
    }
    public override void DoMouseUp()
    {
        if (LastInput.Buttons == MouseButtons.Left)
        {
            End = LastInput.DocPoint;
            GoDrawing d = new GoDrawing();
            d.StartAt(Origin);
            d.LineTo(End);
            Document.Add(d);
        }
        

        base.DoMouseUp();
    }

}

GoDrawing doesn’t support arrowheads… although it is GoDrawing, so I support you could do it by doing more “LineTo” calls at the end and setting the Brush to fill it.

But… what you want to use is GoStroke. It has arrowheads.

Also… look at how the DrawDemo sample works. It has a Draw Line Tool.

Great…
GoDiagram is powerful.
Thanks,Jake…