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

# shouldPrint

Returns a Boolean value indicating whether the annotation should appear when the document is printed.

## Declaration

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

## Return Value

Return Value true if the annotation should appear when the PDF document is printed; otherwise false.

## Discussion

Discussion PDFPage respects this flag when printing.

## See Also

### Managing Annotation Drawing and Output

- [draw(with:in:)](pdfkit/pdfannotation/draw(with:in:).md)
- [shouldDisplay](pdfkit/pdfannotation/shoulddisplay.md)
