---
title: "setEnd(_:)"
framework: pdfkit
role: symbol
role_heading: Instance Method
path: "pdfkit/pdfannotationline/setend(_:)-2qn58"
---

# setEnd(_:)

Sets the ending point for the line.

## Declaration

```swift
func setEnd(_ point: NSPoint)
```

## Parameters

- `point`: The ending point for the line, in page space.

## Discussion

Discussion Page space is a 72-dpi coordinate system with the origin at the lower-left corner of the current page.

## See Also

### Specifying the Starting and Ending Points

- [startPoint()](pdfkit/pdfannotationline/startpoint().md)
- [setStart(_:)](pdfkit/pdfannotationline/setstart(_:)-86is0.md)
- [endPoint()](pdfkit/pdfannotationline/endpoint().md)
