# How to create line

**URL:** <https://community.thinkgeo.com/t/how-to-create-line/8185>\
**Category:** WinForms\
**Created:** [September 6, 2016, 10:10am UTC](https://community.thinkgeo.com/t/how-to-create-line/8185 "2016-09-06T10:10:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Boy\_Irsan](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/b/3be4f8/32.png) [@Boy\_Irsan](https://community.thinkgeo.com/u/Boy_Irsan)\
**Post date:** [September 6, 2016, 10:10am UTC](https://community.thinkgeo.com/t/how-to-create-line/8185/1 "2016-09-06T10:10:30Z")

</div>

How to create line with arrow in end of line?

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [September 7, 2016, 5:10am UTC](https://community.thinkgeo.com/t/how-to-create-line/8185/2 "2016-09-07T05:10:45Z")

</div>

Hi Boy\_Irsan,

Please view this topic, which shows how to make the arrow in end of line:

> [@Custom arrow line style?](http://community.thinkgeo.com/t/custom-arrow-line-style/5178):
>
> Hi, I've&nbsp;been&nbsp;asked&nbsp;whether&nbsp;it's&nbsp;possible&nbsp;to&nbsp;utilize&nbsp;an&nbsp;arrow&nbsp;line&nbsp;style&nbsp;? As&nbsp;far&nbsp;as&nbsp;I&nbsp;can&nbsp;se,&nbsp;I&nbsp;need&nbsp;to&nbsp;build&nbsp;and&nbsp;employ&nbsp;a&nbsp;custom&nbsp;LineDashStyle,&nbsp;but&nbsp;how&nbsp;? All&nbsp;examples,&nbsp;pointers&nbsp;and&nbsp;suggestions&nbsp;are&nbsp;welcome. Cheers. &nbsp;

You should want to set the lineStyle like this:  
lineStyle.OuterPen.EndCap = DrawingLineCap.ArrowAnchor;

Regards,

Don
