---
title: pixelsPerInch
framework: virtualization
role: symbol
role_heading: Instance Property
path: virtualization/vzmacgraphicsdisplay/pixelsperinch
---

# pixelsPerInch

Returns the pixel density of the display in pixels per inch.

## Declaration

```swift
var pixelsPerInch: Int { get }
```
