---
title: NSGraphicsContext.RepresentationFormatName
framework: appkit
role: symbol
role_heading: Structure
path: appkit/nsgraphicscontext/representationformatname
---

# NSGraphicsContext.RepresentationFormatName

Constants that specify values for the representation format name key in a graphic context’s attributes dictionary.

## Declaration

```swift
struct RepresentationFormatName
```

## Discussion

Discussion You use these constants with the representationFormat key.

## Topics

### Format Names

- [pdf](appkit/nsgraphicscontext/representationformatname/pdf.md)
- [postScript](appkit/nsgraphicscontext/representationformatname/postscript.md)

### Initializers

- [init(rawValue:)](appkit/nsgraphicscontext/representationformatname/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting Information About the Context

- [attributes](appkit/nsgraphicscontext/attributes.md)
- [NSGraphicsContext.AttributeKey](appkit/nsgraphicscontext/attributekey.md)
- [isFlipped](appkit/nsgraphicscontext/isflipped.md)
