---
title: "PMGetUnadjustedPageRect(_:_:)"
framework: applicationservices
role: symbol
role_heading: Function
path: applicationservices/1462944-pmgetunadjustedpagerect
---

# PMGetUnadjustedPageRect(_:_:)

Obtains the imageable area or page rectangle, unaffected by orientation, resolution, or scaling.

## Declaration

```swift
func PMGetUnadjustedPageRect(_ pageFormat: PMPageFormat, _ pageRect: UnsafeMutablePointer<PMRect>) -> OSStatus
```

## Parameters

- `pageFormat`: The page format object whose unadjusted page rectangle you want to obtain.
- `pageRect`: A pointer to your doc://com.apple.documentation/documentation/applicationservices/core_printing/pmrect data structure. On return, the structure contains the size of the page rectangle, in points. The page rectangle is the area of the page to which an application can draw. The coordinates for the upper-left corner of the page rectangle are (0,0). See Supporting Printing in Your Carbon Application for more information on page and paper rectangles.

## Return Value

Return Value A result code. See Result Codes.

## See Also

### Accessing Data in Page Format Objects

- [PMGetPageFormatExtendedData(_:_:_:_:)](applicationservices/1464455-pmgetpageformatextendeddata.md)
- [PMSetPageFormatExtendedData(_:_:_:_:)](applicationservices/1463464-pmsetpageformatextendeddata.md)
- [PMGetPageFormatPaper(_:_:)](applicationservices/1461319-pmgetpageformatpaper.md)
- [PMPageFormatGetPrinterID(_:_:)](applicationservices/1462961-pmpageformatgetprinterid.md)
- [PMGetOrientation(_:_:)](applicationservices/1459144-pmgetorientation.md)
- [PMSetOrientation(_:_:_:)](applicationservices/1459016-pmsetorientation.md)
- [PMGetScale(_:_:)](applicationservices/1458796-pmgetscale.md)
- [PMSetScale(_:_:)](applicationservices/1463343-pmsetscale.md)
- [PMGetAdjustedPageRect(_:_:)](applicationservices/1461543-pmgetadjustedpagerect.md)
- [PMGetAdjustedPaperRect(_:_:)](applicationservices/1459167-pmgetadjustedpaperrect.md)
- [PMGetUnadjustedPaperRect(_:_:)](applicationservices/1462939-pmgetunadjustedpaperrect.md)
