<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGPSConverterCallbacks",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@S@CGPSConverterCallbacks"
  },
  "title" : "CGPSConverterCallbacks"
}
-->

# CGPSConverterCallbacks

A structure for holding the callbacks provided when you create a PostScript converter object.

```
struct CGPSConverterCallbacks
```

## Topics

### Initializers

[`init()`](/documentation/CoreGraphics/CGPSConverterCallbacks/init())

[`init(version:beginDocument:endDocument:beginPage:endPage:noteProgress:noteMessage:releaseInfo:)`](/documentation/CoreGraphics/CGPSConverterCallbacks/init(version:beginDocument:endDocument:beginPage:endPage:noteProgress:noteMessage:releaseInfo:))

### Instance Properties

[`beginDocument`](/documentation/CoreGraphics/CGPSConverterCallbacks/beginDocument)

The callback called at the beginning of the conversion of the PostScript document, or `NULL`.

[`beginPage`](/documentation/CoreGraphics/CGPSConverterCallbacks/beginPage)

The callback called at the start of the conversion of each page in the PostScript document, or `NULL`.

[`endDocument`](/documentation/CoreGraphics/CGPSConverterCallbacks/endDocument)

The callback called at the end of conversion of the PostScript document, or `NULL`.

[`endPage`](/documentation/CoreGraphics/CGPSConverterCallbacks/endPage)

The callback called at the end of the conversion of each page in the PostScript document, or `NULL`.

[`noteMessage`](/documentation/CoreGraphics/CGPSConverterCallbacks/noteMessage)

The callback called to pass any messages that might result during the conversion, or `NULL`.

[`noteProgress`](/documentation/CoreGraphics/CGPSConverterCallbacks/noteProgress)

The callback called periodically during the conversion to indicate that conversion is proceeding, or `NULL`.

[`releaseInfo`](/documentation/CoreGraphics/CGPSConverterCallbacks/releaseInfo)

The callback called when the converter is deallocated, or `NULL`.

[`version`](/documentation/CoreGraphics/CGPSConverterCallbacks/version)

The version number of the structure passed in as a parameter to the converter creation functions. The structure defined below is version `0`.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)