---
title: CGPDFStringRef
framework: coregraphics
role: symbol
role_heading: Structure
path: coregraphics/cgpdfstringref
---

# CGPDFStringRef

A data type that represents a string in a PDF document.

## Declaration

```swift
struct CGPDFStringRef
```

## Topics

### Initializers

- [init(_:)](coregraphics/cgpdfstringref/init(_:).md)
- [init(rawValue:)](coregraphics/cgpdfstringref/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)
