---
title: catalog
framework: coregraphics
role: symbol
role_heading: Instance Property
path: coregraphics/cgpdfdocument/catalog
---

# catalog

Returns the document catalog of a Core Graphics PDF document.

## Declaration

```swift
var catalog: CGPDFDictionaryRef? { get }
```

## Discussion

Discussion The entries in a PDF document catalog recursively describe the contents of the PDF document. You can access the contents of a PDF document catalog by calling the function catalog. For information on accessing PDF metadata, see Quartz 2D Programming Guide.

## See Also

### Examining a PDF Document

- [fileIdentifier](coregraphics/cgpdfdocument/fileidentifier.md)
- [info](coregraphics/cgpdfdocument/info.md)
- [numberOfPages](coregraphics/cgpdfdocument/numberofpages.md)
- [getVersion(majorVersion:minorVersion:)](coregraphics/cgpdfdocument/getversion(majorversion:minorversion:).md)
- [page(at:)](coregraphics/cgpdfdocument/page(at:).md)
