---
title: CGPDFOperatorTableCreate()
framework: coregraphics
role: symbol
role_heading: Function
path: coregraphics/cgpdfoperatortablecreate()
---

# CGPDFOperatorTableCreate()

Creates an empty PDF operator table.

## Declaration

```swift
func CGPDFOperatorTableCreate() -> CGPDFOperatorTableRef?
```

## Return Value

Return Value An empty PDF operator table. In Objective-C, you’re responsible for releasing this object by calling CGPDFOperatorTableRelease(_:).

## Discussion

Discussion Call the function CGPDFOperatorTableSetCallback(_:_:_:) to fill the operator table with callbacks.
