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

# allowsCopying

Returns whether the specified PDF document allows copying.

## Declaration

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

## Discussion

Discussion If the document is encrypted and the current password doesn’t grant permission to perform copying, this returns false.

## See Also

### Working with an Encrypted PDF Document

- [isEncrypted](coregraphics/cgpdfdocument/isencrypted.md)
- [allowsPrinting](coregraphics/cgpdfdocument/allowsprinting.md)
- [isUnlocked](coregraphics/cgpdfdocument/isunlocked.md)
- [unlockWithPassword(_:)](coregraphics/cgpdfdocument/unlockwithpassword(_:).md)
