---
title: kCGPDFContextKeywords
framework: coregraphics
role: symbol
role_heading: Global Variable
path: coregraphics/kcgpdfcontextkeywords
---

# kCGPDFContextKeywords

## Declaration

```swift
let kCGPDFContextKeywords: CFString
```

## Discussion

Discussion The keywords for this document. This key is optional. If the value of  this key is a CFString object, the /Keywords entry will be the specified  string. If the value of this key is a CFArray object, then it must be an array  of CFString objects. The /Keywords entry will, in this case, be the concatenation  of the specified strings separated by commas (","). In addition, an  entry with the key "/AAPL:Keywords" is stored in the document  information dictionary; its value is an array consisting of each of the  specified strings. The value of this key must be in one of the above  forms; otherwise, this key is ignored.

## See Also

### Metadata Keys

- [kCGPDFContextAuthor](coregraphics/kcgpdfcontextauthor.md)
- [kCGPDFContextCreator](coregraphics/kcgpdfcontextcreator.md)
- [kCGPDFContextTitle](coregraphics/kcgpdfcontexttitle.md)
- [kCGPDFContextOwnerPassword](coregraphics/kcgpdfcontextownerpassword.md)
- [kCGPDFContextUserPassword](coregraphics/kcgpdfcontextuserpassword.md)
- [kCGPDFContextAllowsPrinting](coregraphics/kcgpdfcontextallowsprinting.md)
- [kCGPDFContextAllowsCopying](coregraphics/kcgpdfcontextallowscopying.md)
- [kCGPDFContextOutputIntent](coregraphics/kcgpdfcontextoutputintent.md)
- [kCGPDFContextOutputIntents](coregraphics/kcgpdfcontextoutputintents.md)
- [kCGPDFContextSubject](coregraphics/kcgpdfcontextsubject.md)
- [kCGPDFContextEncryptionKeyLength](coregraphics/kcgpdfcontextencryptionkeylength.md)
