---
title: allowsCommenting
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfdocument/allowscommenting
---

# allowsCommenting

A Boolean value indicating whether you can create or modify document annotations, including form field entries.

## Declaration

```swift
var allowsCommenting: Bool { get }
```

## See Also

### Getting Permissions

- [allowsCopying](pdfkit/pdfdocument/allowscopying.md)
- [allowsPrinting](pdfkit/pdfdocument/allowsprinting.md)
- [allowsContentAccessibility](pdfkit/pdfdocument/allowscontentaccessibility.md)
- [allowsDocumentAssembly](pdfkit/pdfdocument/allowsdocumentassembly.md)
- [allowsDocumentChanges](pdfkit/pdfdocument/allowsdocumentchanges.md)
- [allowsFormFieldEntry](pdfkit/pdfdocument/allowsformfieldentry.md)
