---
title: document
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfpage/document
---

# document

Returns the PDFDocument object with which the page is associated.

## Declaration

```swift
weak var document: PDFDocument? { get }
```

## See Also

### Getting Information About a Page

- [label](pdfkit/pdfpage/label.md)
- [bounds(for:)](pdfkit/pdfpage/bounds(for:).md)
- [setBounds(_:for:)](pdfkit/pdfpage/setbounds(_:for:).md)
- [rotation](pdfkit/pdfpage/rotation.md)
