# Customizing a Line as an Arrow

Learn how to customize a line as an arrow, including setting start and end caps, in Spread.NET's Shape Linework article.

## Content

Besides an arrow shape, you can setup a line shape and change the ends to be arrow heads. You can create an arrow from a line shape in code or in the Spread Designer.
When you create a line in the Spread Designer you can then set the start cap and end cap using the shape properties as shown here. Create a shape in the designer using the **Insert** menu and shape option, then right-click on the shape to set additional properties.
![image](https://cdn.mescius.io/document-site-files/images/e31400f0-03a3-4cfc-a80d-08d62bed05a8/image.7bc9aa.png?width=800)
The cap types are listed in this table, shown with a simulated image that roughly illustrates the appearance.

| **Type of Cap** | **Appearance** |
| ----------- | ---------- |
| Flat | ![Flat Cap](https://cdn.mescius.io/document-site-files/images/2238e618-a1fb-45a6-9ce5-9a4157bd2931/images/cap-flat.png) |
| Square | ![Square Cap](https://cdn.mescius.io/document-site-files/images/2238e618-a1fb-45a6-9ce5-9a4157bd2931/images/cap-square.png) |
| Round | ![Round Cap](https://cdn.mescius.io/document-site-files/images/2238e618-a1fb-45a6-9ce5-9a4157bd2931/images/cap-round.png) |
| Triangle | ![Triangle Cap](https://cdn.mescius.io/document-site-files/images/2238e618-a1fb-45a6-9ce5-9a4157bd2931/images/cap-triangle.png) |
| NoAnchor | ![No Anchor Cap](https://cdn.mescius.io/document-site-files/images/2238e618-a1fb-45a6-9ce5-9a4157bd2931/images/cap-noanchor.png) |
| SquareAnchor | ![Square Anchor Cap](https://cdn.mescius.io/document-site-files/images/2238e618-a1fb-45a6-9ce5-9a4157bd2931/images/cap-squareanchor.png) |
| RoundAnchor | ![Round Anchor Cap](https://cdn.mescius.io/document-site-files/images/2238e618-a1fb-45a6-9ce5-9a4157bd2931/images/cap-roundanchor.png) |
| DiamondAnchor | ![Diamond Anchor Cap](https://cdn.mescius.io/document-site-files/images/2238e618-a1fb-45a6-9ce5-9a4157bd2931/images/cap-diamondanchor.png) |
| ArrowAnchor | ![Arrow Anchor Cap](https://cdn.mescius.io/document-site-files/images/2238e618-a1fb-45a6-9ce5-9a4157bd2931/images/cap-arrowanchor.png) |
| AnchorMask | ![Anchor Mask Cap](https://cdn.mescius.io/document-site-files/images/2238e618-a1fb-45a6-9ce5-9a4157bd2931/images/cap-maskanchor.png) |
| Custom | User-defined |

For more details on the line shape in code, refer to the [LineShape](/spreadnet/api/latest/online-win/FarPoint.Win.Spread/FarPoint.Win.Spread.DrawingSpace.LineShape.html) class in the Assembly Reference.

## See Also

[Customizing Text as a Shape](/spreadnet/docs/latest/online-win/overview/spwin-designerguide/spwin-spd-useshapes/spwin-shape-customs/spwin-shape-text)
[Customizing a Polygon](/spreadnet/docs/latest/online-win/overview/spwin-designerguide/spwin-spd-useshapes/spwin-shape-customs/spwin-shape-polygon)