---
title: contentInset
framework: paperkit
role: symbol
role_heading: Instance Property
path: paperkit/papermarkupviewcontroller/scrollconfiguration-swift.class/contentinset-1ktjn
---

# contentInset

The custom distance to inset the content view from the scroll view edges.

## Declaration

```swift
final var contentInset: NSEdgeInsets { get set }
```

## Discussion

Discussion Use this property to add additional scroll area around content. Default is NSEdgeInsetsZero.

## See Also

### Configuring content insets

- [contentInset](paperkit/papermarkupviewcontroller/scrollconfiguration-swift.class/contentinset-3vn4v.md)
- [adjustedContentInset](paperkit/papermarkupviewcontroller/scrollconfiguration-swift.class/adjustedcontentinset.md)
- [contentInsetAdjustmentBehavior](paperkit/papermarkupviewcontroller/scrollconfiguration-swift.class/contentinsetadjustmentbehavior.md)
