---
title: destination
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsgraphicscontext/attributekey/destination
---

# destination

Specifies the destination.

## Declaration

```swift
static let destination: NSGraphicsContext.AttributeKey
```

## Discussion

Discussion This value can be an instance of NSWindow or NSBitmapImageRep when creating a graphics context. When determining the type of a graphics context, this value can be an NSMutableData, NSString, or NSURL object.

## See Also

### Attribute Keys

- [representationFormat](appkit/nsgraphicscontext/attributekey/representationformat.md)
