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

# CGPSConverterBeginPageCallback

Performs custom tasks at the beginning of each page in a PostScript conversion process.

```
typealias CGPSConverterBeginPageCallback = (UnsafeMutableRawPointer?, Int, CFDictionary) -> 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:)).

`pageNumber`

The current page number. Page numbers start at `1`.

`pageInfo`

A dictionary that contains contextual information about the page. This parameter is reserved for future API expansion, and is currently unused.

## 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)