---
title: "removePage(at:)"
framework: pdfkit
role: symbol
role_heading: Instance Method
path: "pdfkit/pdfdocument/removepage(at:)"
---

# removePage(at:)

Removes the page at the specified index point.

## Declaration

```swift
func removePage(at index: Int)
```

## Discussion

Discussion This method raises an exception if index is out of bounds.

## See Also

### Working with Pages

- [pageCount](pdfkit/pdfdocument/pagecount.md)
- [page(at:)](pdfkit/pdfdocument/page(at:).md)
- [index(for:)](pdfkit/pdfdocument/index(for:).md)
- [insert(_:at:)](pdfkit/pdfdocument/insert(_:at:).md)
- [exchangePage(at:withPageAt:)](pdfkit/pdfdocument/exchangepage(at:withpageat:).md)
- [pageClass](pdfkit/pdfdocument/pageclass.md)
