---
title: "init(dataRepresentation:)"
framework: paperkit
role: symbol
role_heading: Initializer
path: "paperkit/papermarkup/init(datarepresentation:)"
---

# init(dataRepresentation:)

Initializes and returns a new paper model from the specified data.

## Declaration

```swift
init(dataRepresentation: Data) throws
```

## Parameters

- `dataRepresentation`: The data containing the serialized paper model.

## See Also

### Creating markup

- [init(bounds:)](paperkit/papermarkup/init(bounds:).md)
