<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 11.0.0 -",
    "macOS: 10.4.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFAnnotationHighlightingMode",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:@T@PDFAnnotationHighlightingMode"
  },
  "title" : "PDFAnnotationHighlightingMode"
}
-->

# PDFAnnotationHighlightingMode

```
struct PDFAnnotationHighlightingMode
```

## Topics

### Choosing a Highlight Mode

[`invert`](/documentation/PDFKit/PDFAnnotationHighlightingMode/invert)

A highlight mode that inverts the content of the annotation.

[`none`](/documentation/PDFKit/PDFAnnotationHighlightingMode/none)

A highlight mode that doesn’t change the appearance of the annotation.

[`outline`](/documentation/PDFKit/PDFAnnotationHighlightingMode/outline)

A highlight mode that inverts the annotation’s border.

[`push`](/documentation/PDFKit/PDFAnnotationHighlightingMode/push)

A highlight mode that renders a pressed appearance for the annotation.

### Creating an Annotation Highlight Mode

[`init(rawValue:)`](/documentation/PDFKit/PDFAnnotationHighlightingMode/init(rawValue:))

Creates a highlight mode using the specified raw string value.



---

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)