---
title: isDrawingToScreen
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsgraphicscontext/isdrawingtoscreen
---

# isDrawingToScreen

A Boolean value that indicates whether the drawing destination is the screen.

## Declaration

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

## Discussion

Discussion true if the drawing destination is the screen. If the value of the property is false may mean that the drawing destination is a printer, but the destination may also be a PDF or EPS file. You can call attributes to see if additional information is available about the drawing destination.

## See Also

### Testing the Drawing Destination

- [currentContextDrawingToScreen()](appkit/nsgraphicscontext/currentcontextdrawingtoscreen().md)
