---
title: documentViewShouldHandlePrint
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/webframeview/documentviewshouldhandleprint
---

# documentViewShouldHandlePrint

A Boolean value indicating whether the document view should handle a print operation.

## Declaration

```swift
var documentViewShouldHandlePrint: Bool { get }
```

## Discussion

Discussion If this method returns false, the application terminates its print operation and sends printDocumentView() to the web frame view.

## See Also

### Printing Views

- [canPrintHeadersAndFooters](webkit/webframeview/canprintheadersandfooters.md)
- [printOperation(with:)](webkit/webframeview/printoperation(with:).md)
- [printDocumentView()](webkit/webframeview/printdocumentview().md)
