---
title: CGPDFOperatorTable
framework: coregraphics
role: collectionGroup
role_heading: API Collection
path: coregraphics/cgpdfoperatortable
---

# CGPDFOperatorTable

A set of callback functions for operators used when scanning content in a PDF document.

## Overview

Overview You pass an operator table and a PDF content stream to a CGPDFScanner object. When the scanner parses a PDF operator, Core Graphics invokes your callback for that operator. See also CGPDFScanner and CGPDFContentStream. note: This object is not derived from CFType and therefore you can’t use the Core Foundation base functions on it, such as CFRetain and CFRelease. In Objective-C, handle memory management with CGPDFOperatorTableRetain(_:) and CGPDFOperatorTableRelease(_:). For more about PDF operators, see the latest version of PDF Reference, Adobe Systems Incorporated.

## Topics

### Creating a PDF Operator Table

- [CGPDFOperatorTableCreate()](coregraphics/cgpdfoperatortablecreate().md)

### Setting Callback Functions

- [CGPDFOperatorTableSetCallback(_:_:_:)](coregraphics/cgpdfoperatortablesetcallback(_:_:_:).md)

### Retaining and Releasing a PDF Operator Table

- [CGPDFOperatorTableRetain(_:)](coregraphics/cgpdfoperatortableretain(_:).md)
- [CGPDFOperatorTableRelease(_:)](coregraphics/cgpdfoperatortablerelease(_:).md)

### Callbacks

- [CGPDFOperatorCallback](coregraphics/cgpdfoperatorcallback.md)

### Data Types

- [CGPDFOperatorTableRef](coregraphics/cgpdfoperatortableref.md)
