---
title: CGPDFDataFormat
framework: coregraphics
role: symbol
role_heading: Enumeration
path: coregraphics/cgpdfdataformat
---

# CGPDFDataFormat

The encoding format of PDF data.

## Declaration

```swift
enum CGPDFDataFormat
```

## Topics

### Constants

- [CGPDFDataFormat.raw](coregraphics/cgpdfdataformat/raw.md)
- [CGPDFDataFormat.jpegEncoded](coregraphics/cgpdfdataformat/jpegencoded.md)
- [CGPDFDataFormat.JPEG2000](coregraphics/cgpdfdataformat/jpeg2000.md)

### Initializers

- [init(rawValue:)](coregraphics/cgpdfdataformat/init(rawvalue:).md)

## Relationships

### Conforms To

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