<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.3.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGContext/drawPDFPage(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Core Graphics",
      "CoreGraphics"
    ],
    "preciseIdentifier" : "c:@F@CGContextDrawPDFPage"
  },
  "title" : "drawPDFPage(_:)"
}
-->

# drawPDFPage(_:)

Draws the content of a PDF page into the current graphics context.

```
func drawPDFPage(_ page: CGPDFPage)
```

## Parameters

`page`

A Core Graphics PDF page.

## Discussion

This function works in conjunction with the [`CGPDFPage`](/documentation/CoreGraphics/CGPDFPage) type to draw individual PDF pages into a context.

---

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)