---
title: appearanceDictionary
framework: pdfkit
role: symbol
role_heading: Type Property
path: pdfkit/pdfannotationkey/appearancedictionary
---

# appearanceDictionary

A dictionary that contains properties for controlling the annotation’s visual appearance.

## Declaration

```swift
static let appearanceDictionary: PDFAnnotationKey
```

## Discussion

Discussion PDFKit typically generates this property when saving a PDF document. If present, PDFKit uses the contents of the dictionary to render the annotation. PDFKit clears this value if either of the following occurs: The appearance changes and PDFKit must rerender the annotation, such as if the color changes. Explicit removal of the value occurs to allow use of the annotation’s properties for rendering.

## See Also

### Configuring Annotation Appearance

- [appearanceState](pdfkit/pdfannotationkey/appearancestate.md)
- [border](pdfkit/pdfannotationkey/border.md)
- [borderStyle](pdfkit/pdfannotationkey/borderstyle.md)
- [color](pdfkit/pdfannotationkey/color.md)
- [defaultAppearance](pdfkit/pdfannotationkey/defaultappearance.md)
- [highlightingMode](pdfkit/pdfannotationkey/highlightingmode.md)
- [PDFAnnotationHighlightingMode](pdfkit/pdfannotationhighlightingmode.md)
- [iconName](pdfkit/pdfannotationkey/iconname.md)
- [interiorColor](pdfkit/pdfannotationkey/interiorcolor.md)
- [quadding](pdfkit/pdfannotationkey/quadding.md)
