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

# shouldDisplay

Returns a Boolean value indicating whether the annotation should be displayed.

## Declaration

```swift
var shouldDisplay: Bool { get set }
```

## Return Value

Return Value true if the annotation should be displayed; otherwise false.

## Discussion

Discussion PDFPage respects this flag when drawing.

## See Also

### Managing Annotation Drawing and Output

- [draw(with:in:)](pdfkit/pdfannotation/draw(with:in:).md)
- [shouldPrint](pdfkit/pdfannotation/shouldprint.md)
