---
title: CGPSConverterEndDocumentCallback
framework: coregraphics
role: symbol
role_heading: Type Alias
path: coregraphics/cgpsconverterenddocumentcallback
---

# CGPSConverterEndDocumentCallback

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

## Declaration

```swift
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 doc://com.apple.coregraphics/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).
