---
title: font
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfannotation/font
---

# font

The font the annotation uses to display text.

## Declaration

```swift
@NSCopying var font: UIFont? { get set }
```

```swift
@NSCopying var font: NSFont? { get set }
```

## Mentioned in

Adding Widgets to a PDF Document

## See Also

### Managing Annotation Display Characteristics

- [alignment](pdfkit/pdfannotation/alignment.md)
- [bounds](pdfkit/pdfannotation/bounds.md)
- [contents](pdfkit/pdfannotation/contents.md)
- [fontColor](pdfkit/pdfannotation/fontcolor.md)
- [border](pdfkit/pdfannotation/border.md)
- [PDFBorder](pdfkit/pdfborder.md)
- [isHighlighted](pdfkit/pdfannotation/ishighlighted.md)
- [color](pdfkit/pdfannotation/color.md)
- [hasAppearanceStream](pdfkit/pdfannotation/hasappearancestream.md)
