DynaPDF.SetAnnotLineEndStyle
----------------------------

Sets or changes the line end styles of a Line or PolyLine Annotation.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [5.0](newinversion50.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "DynaPDF.SetAnnotLineEndStyle"; PDF; AnnotationHandle; StartPointLineEndStyle; EndPointLineEndStyle ) 

**MBS**( **"DynaPDF.SetAnnotLineEndStyle";** /\* Sets or changes the line end styles of a Line or PolyLine Annotation. \*/  
**$PDF**; /\* The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). \*/   
**$AnnotationHandle**; /\* The annotation index.e.g. 5 \*/   
**$StartPointLineEndStyle**; /\* Can be None, Butt, Circle, ClosedArrow, Diamond, OpenArrow, RClosedArrow, ROpenArrow, Slash or Square.e.g. "Diamond" \*/   
**$EndPointLineEndStyle**) /\* Can be None, Butt, Circle, ClosedArrow, Diamond, OpenArrow, RClosedArrow, ROpenArrow, Slash or Square.e.g. "Diamond" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PDF | The PDF reference returned from [DynaPDF.New](DynaPDFNew.md). | $pdf |
| AnnotationHandle | The annotation index. | 5 |
| StartPointLineEndStyle | Can be None, Butt, Circle, ClosedArrow, Diamond, OpenArrow, RClosedArrow, ROpenArrow, Slash or Square. | "Diamond" |
| EndPointLineEndStyle | Can be None, Butt, Circle, ClosedArrow, Diamond, OpenArrow, RClosedArrow, ROpenArrow, Slash or Square. | "Diamond" |

### Result

Returns OK or error.

### Description

Sets or changes the line end styles of a Line or PolyLine Annotation.  
See also [SetAnnotLineEndStyle](https://www.monkeybreadsoftware.com/DynaPDF-Manual/SetAnnotLineEndStyle.shtml) function in DynaPDF manual.

### See also

- [DynaPDF.LineAnnot](DynaPDFLineAnnot.md)
- [DynaPDF.New](DynaPDFNew.md)
- [DynaPDF.SetAnnotBorderStyle](DynaPDFSetAnnotBorderStyle.md)
- [DynaPDF.SetAnnotOpenState](DynaPDFSetAnnotOpenState.md)

This function checks for a license.

Created 25th November 2014 , last changed 25th November 2014

  
[DynaPDF.SetAnnotIcon](DynaPDFSetAnnotIcon.md) - [DynaPDF.SetAnnotOpacity](DynaPDFSetAnnotOpacity.md)

[HTML Version](DynaPDFSetAnnotLineEndStyle.shtml)