---
title: "PMPaperGetHeight(_:_:)"
framework: applicationservices
role: symbol
role_heading: Function
path: applicationservices/1460389-pmpapergetheight
---

# PMPaperGetHeight(_:_:)

Obtains the height of the sheet of paper represented by a paper object.

## Declaration

```swift
func PMPaperGetHeight(_ paper: PMPaper, _ paperHeight: UnsafeMutablePointer<Double>) -> OSStatus
```

## Parameters

- `paper`: The paper whose height you want to obtain.
- `paperHeight`: A pointer to your double-precision variable. On return, the variable contains the height of the specified paper, in points.

## Return Value

Return Value A result code. See Result Codes.

## See Also

### Accessing Data in Paper Objects

- [PMPaperGetID(_:_:)](applicationservices/1462910-pmpapergetid.md)
- [PMPaperGetWidth(_:_:)](applicationservices/1459209-pmpapergetwidth.md)
- [PMPaperGetMargins(_:_:)](applicationservices/1461994-pmpapergetmargins.md)
- [PMPaperCreateLocalizedName(_:_:_:)](applicationservices/1460981-pmpapercreatelocalizedname.md)
- [PMPaperGetPrinterID(_:_:)](applicationservices/1461737-pmpapergetprinterid.md)
- [PMPaperGetPPDPaperName(_:_:)](applicationservices/1461039-pmpapergetppdpapername.md)
