---
title: "PdfLineEndingStyle"
canonical_url: "https://www.nutrient.io/api/python/enums/pdf-line-ending-style/"
md_url: "https://www.nutrient.io/api/python/enums/pdf-line-ending-style.md"
last_updated: "2026-06-09T10:32:42.528Z"
description: "Specifies the style of line endings for line annotations."
---

Specifies the style of line endings for line annotations.

```python

from nutrient_sdk import PdfLineEndingStyle

```

## Values

| Name                                      | Value | Description                                                                         |
| ----------------------------------------- | ----- | ----------------------------------------------------------------------------------- |
| `PdfLineEndingStyle.NONE`                 | `0`   | No line ending.                                                                     |
| `PdfLineEndingStyle.SQUARE`               | `1`   | A square filled with the annotation's interior color.                               |
| `PdfLineEndingStyle.CIRCLE`               | `2`   | A circle filled with the annotation's interior color.                               |
| `PdfLineEndingStyle.DIAMOND`              | `3`   | A diamond shape filled with the annotation's interior color.                        |
| `PdfLineEndingStyle.OPEN_ARROW`           | `4`   | Two short lines meeting in an acute angle to form an open arrowhead.                |
| `PdfLineEndingStyle.CLOSED_ARROW`         | `5`   | A triangular closed arrowhead filled with the annotation's interior color.          |
| `PdfLineEndingStyle.BUTT`                 | `6`   | A short line at the endpoint perpendicular to the line itself.                      |
| `PdfLineEndingStyle.REVERSE_OPEN_ARROW`   | `7`   | Two short lines in the reverse direction from OpenArrow.                            |
| `PdfLineEndingStyle.REVERSE_CLOSED_ARROW` | `8`   | A triangular closed arrowhead in the reverse direction from ClosedArrow.            |
| `PdfLineEndingStyle.SLASH`                | `9`   | A short line at the endpoint approximately 30 degrees clockwise from perpendicular. |

## Usage Example

```python

from nutrient_sdk import PdfLineEndingStyle

# Access enum values

value = PdfLineEndingStyle.NONE
print(f"Value: {value}")  # Output: Value: PdfLineEndingStyle.NONE

print(f"Integer value: {value.value}")  # Output: Integer value: 0

```

---

## Related pages

- [Access enum values](/api/python/enums/description-level.md)
- [Access enum values](/api/python/enums/document-format.md)
- [Access enum values](/api/python/enums/document-markup-mode.md)
- [Access enum values](/api/python/enums/document-type.md)
- [Access enum values](/api/python/enums/html-layout-type.md)
- [Access enum values](/api/python/enums/image-export-format.md)
- [Access enum values](/api/python/enums/image-setting-mode.md)
- [Access enum values](/api/python/enums/image-export-mode.md)
- [All public classes import directly from the top-level package:](/api/python/enums.md)
- [Access enum values](/api/python/enums/implicit-conversion.md)
- [Access enum values](/api/python/enums/json-export-content.md)
- [Access enum values](/api/python/enums/document-bookmark-source.md)
- [Access enum values](/api/python/enums/instant-json-render-theme.md)
- [Access enum values](/api/python/enums/ocr-activation-mode.md)
- [Access enum values](/api/python/enums/page-cache-mode.md)
- [Access enum values](/api/python/enums/json-export-format.md)
- [Access enum values](/api/python/enums/open-settings-mode.md)
- [Access enum values](/api/python/enums/pdf-border-style.md)
- [Access enum values](/api/python/enums/pdf-compression.md)
- [Access enum values](/api/python/enums/pdf-conformance.md)
- [Access enum values](/api/python/enums/pdf-form-field-type.md)
- [Access enum values](/api/python/enums/pdf-rubber-stamp-icon.md)
- [Access enum values](/api/python/enums/pdf-page-sizes.md)
- [Access enum values](/api/python/enums/pdf-save-preferences.md)
- [Access enum values](/api/python/enums/rendering-layout-mode.md)
- [Access enum values](/api/python/enums/pdf-settings-mode.md)
- [Access enum values](/api/python/enums/tiff-compression.md)
- [Access enum values](/api/python/enums/signature-hash-algorithm.md)
- [Access enum values](/api/python/enums/text-direction.md)
- [Access enum values](/api/python/enums/unit-mode.md)
- [Access enum values](/api/python/enums/vision-engine.md)
- [Access enum values](/api/python/enums/vision-features.md)
- [Access enum values](/api/python/enums/vlm-classification-strategy.md)
- [Access enum values](/api/python/enums/vision-output-format.md)
- [Access enum values](/api/python/enums/vlm-provider.md)
- [Access enum values](/api/python/enums/word-refining-method.md)

