---
title: parent
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfoutline/parent
---

# parent

Returns the parent outline object of the outline (returns NULL if called on the root outline object).

## Declaration

```swift
var parent: PDFOutline? { get }
```

## See Also

### Getting Information About an Outline

- [document](pdfkit/pdfoutline/document.md)
- [numberOfChildren](pdfkit/pdfoutline/numberofchildren.md)
- [child(at:)](pdfkit/pdfoutline/child(at:).md)
- [index](pdfkit/pdfoutline/index.md)
