---
title: Data Representations
framework: pdfkit
role: collectionGroup
role_heading: API Collection
path: pdfkit/data-representations
---

# Data Representations

Operations to represent PDF documents as data objects.

## Topics

### Creating Data Representations

- [dataRepresentation()](pdfkit/pdfdocument/datarepresentation().md)
- [dataRepresentation(options:)](pdfkit/pdfdocument/datarepresentation(options:).md)

## See Also

### Writing Out the PDF Data

- [write(toFile:)](pdfkit/pdfdocument/write(tofile:).md)
- [write(toFile:withOptions:)](pdfkit/pdfdocument/write(tofile:withoptions:).md)
- [write(to:)](pdfkit/pdfdocument/write(to:).md)
- [write(to:withOptions:)](pdfkit/pdfdocument/write(to:withoptions:).md)
