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

# extend(atStart:)

Extends the selection from its start toward the beginning of the document.

## Declaration

```swift
func extend(atStart precede: Int)
```

## Discussion

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

## See Also

### Modifying a Selection

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