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

# CGPSConverterEndDocumentCallback

Performs custom tasks at the end of a PostScript conversion process.

```
typealias CGPSConverterEndDocumentCallback = (UnsafeMutableRawPointer?, Bool) -> Void
```

## Parameters

`info`

A generic pointer to private data shared among your callback functions. This is the same pointer you supplied to [`init(info:callbacks:options:)`](/documentation/CoreGraphics/CGPSConverter/init(info:callbacks:options:)).

`success`

A Boolean value that indicates whether the PostScript conversion completed successfully (<doc://com.apple.documentation/documentation/Swift/true> if it did).

## Discussion

---

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)