<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreGraphics",
  "identifier" : "/documentation/CoreGraphics/CGPDFBox",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Graphics"
    ],
    "preciseIdentifier" : "c:@E@CGPDFBox"
  },
  "title" : "CGPDFBox"
}
-->

# CGPDFBox

Box types for a PDF page.

```
enum CGPDFBox
```

## Topics

### Constants

[`CGPDFBox.mediaBox`](/documentation/CoreGraphics/CGPDFBox/mediaBox)

The page media box—a rectangle, expressed in default user space units, that defines the boundaries of the physical medium on which the page is intended to be displayed or printed

[`CGPDFBox.cropBox`](/documentation/CoreGraphics/CGPDFBox/cropBox)

The page crop box—a rectangle, expressed in default user space units, that defines the visible region of default user space. When the page is displayed or printed, its contents are to be clipped to this rectangle.

[`CGPDFBox.bleedBox`](/documentation/CoreGraphics/CGPDFBox/bleedBox)

The page bleed box—a rectangle, expressed in default user space units, that defines the region to which the contents of the page should be clipped when output in a production environment.

[`CGPDFBox.trimBox`](/documentation/CoreGraphics/CGPDFBox/trimBox)

The page trim box—a rectangle, expressed in default user space units, that defines the intended dimensions of the finished page after trimming.

[`CGPDFBox.artBox`](/documentation/CoreGraphics/CGPDFBox/artBox)

The page art box—a rectangle, expressed in default user space units, defining the extent of the page’s meaningful content (including potential white space) as intended by the page’s creator.



---

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)