---
title: "extend(atEnd:)"
framework: pdfkit
role: symbol
role_heading: Instance Method
path: "pdfkit/pdfselection/extend(atend:)"
---

# extend(atEnd:)

Extends the selection from its end toward the end of the document.

## Declaration

```swift
func extend(atEnd succeed: Int)
```

## Discussion

Discussion The selection may be extended by any amount, up to and including the end of the document.

## See Also

### Modifying a Selection

- [add(_:)](pdfkit/pdfselection/add(_:)-8c2r.md)
- [add(_:)](pdfkit/pdfselection/add(_:)-3fyld.md)
- [extend(atStart:)](pdfkit/pdfselection/extend(atstart:).md)
