<!--
{
  "documentType" : "article",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/auxiliary-dictionary-keys",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Auxiliary Dictionary Keys"
}
-->

# Auxiliary Dictionary Keys

Keys for the auxiliary info dictionary you specify when creating a PDF context.

## Discussion

For more information about using these keys in a PDF context, see [`init(consumer:mediaBox:_:)`](/documentation/CoreGraphics/CGContext/init(consumer:mediaBox:_:)) and [`init(_:mediaBox:_:)`](/documentation/CoreGraphics/CGContext/init(_:mediaBox:_:)).

## Topics

### Metadata Keys

[`kCGPDFContextAuthor`](/documentation/CoreGraphics/kCGPDFContextAuthor)

The corresponding value is a string that represents the name of the person who created the document. This key is optional.

[`kCGPDFContextCreator`](/documentation/CoreGraphics/kCGPDFContextCreator)

The corresponding value is a string that represents the name of the application used to produce the document. This key is optional.

[`kCGPDFContextTitle`](/documentation/CoreGraphics/kCGPDFContextTitle)

The corresponding value is a string that represents the title of the document. This key is optional.

[`kCGPDFContextOwnerPassword`](/documentation/CoreGraphics/kCGPDFContextOwnerPassword)

[`kCGPDFContextUserPassword`](/documentation/CoreGraphics/kCGPDFContextUserPassword)

[`kCGPDFContextAllowsPrinting`](/documentation/CoreGraphics/kCGPDFContextAllowsPrinting)

Whether the document allows printing when unlocked with the user password.

[`kCGPDFContextAllowsCopying`](/documentation/CoreGraphics/kCGPDFContextAllowsCopying)

Whether the document allows copying when unlocked with the user password.

[`kCGPDFContextOutputIntent`](/documentation/CoreGraphics/kCGPDFContextOutputIntent)

[`kCGPDFContextOutputIntents`](/documentation/CoreGraphics/kCGPDFContextOutputIntents)

[`kCGPDFContextSubject`](/documentation/CoreGraphics/kCGPDFContextSubject)

[`kCGPDFContextKeywords`](/documentation/CoreGraphics/kCGPDFContextKeywords)

[`kCGPDFContextEncryptionKeyLength`](/documentation/CoreGraphics/kCGPDFContextEncryptionKeyLength)

### Box Keys

[`kCGPDFContextMediaBox`](/documentation/CoreGraphics/kCGPDFContextMediaBox)

The media box for the document or for a given page.

[`kCGPDFContextCropBox`](/documentation/CoreGraphics/kCGPDFContextCropBox)

The crop box for the document or for a given page.

[`kCGPDFContextBleedBox`](/documentation/CoreGraphics/kCGPDFContextBleedBox)

The bleed box for the document or for a given page.

[`kCGPDFContextTrimBox`](/documentation/CoreGraphics/kCGPDFContextTrimBox)

The trim box for the document or for a given page.

[`kCGPDFContextArtBox`](/documentation/CoreGraphics/kCGPDFContextArtBox)

The art box for the document or for a given page.

### Output Intent Keys

[`kCGPDFXOutputIntentSubtype`](/documentation/CoreGraphics/kCGPDFXOutputIntentSubtype)

The output intent subtype. This key is required.

[`kCGPDFXOutputConditionIdentifier`](/documentation/CoreGraphics/kCGPDFXOutputConditionIdentifier)

[`kCGPDFXOutputCondition`](/documentation/CoreGraphics/kCGPDFXOutputCondition)

A text string identifying the intended output device or production condition in a human-readable form.

[`kCGPDFXRegistryName`](/documentation/CoreGraphics/kCGPDFXRegistryName)

[`kCGPDFXInfo`](/documentation/CoreGraphics/kCGPDFXInfo)

[`kCGPDFXDestinationOutputProfile`](/documentation/CoreGraphics/kCGPDFXDestinationOutputProfile)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)