---
title: CGPDFBox.mediaBox
framework: coregraphics
role: symbol
role_heading: Case
path: coregraphics/cgpdfbox/mediabox
---

# 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

## Declaration

```swift
case mediaBox
```

## See Also

### Constants

- [CGPDFBox.cropBox](coregraphics/cgpdfbox/cropbox.md)
- [CGPDFBox.bleedBox](coregraphics/cgpdfbox/bleedbox.md)
- [CGPDFBox.trimBox](coregraphics/cgpdfbox/trimbox.md)
- [CGPDFBox.artBox](coregraphics/cgpdfbox/artbox.md)
