<!--
{
  "availability" : [
    "macOS: 13.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Virtualization",
  "identifier" : "/documentation/Virtualization/VZVirtioGraphicsScanoutConfiguration",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Virtualization"
    ],
    "preciseIdentifier" : "c:objc(cs)VZVirtioGraphicsScanoutConfiguration"
  },
  "title" : "VZVirtioGraphicsScanoutConfiguration"
}
-->

# VZVirtioGraphicsScanoutConfiguration

The configuration for a Virtio graphics device that configures the dimensions of the graphics device for a Linux VM.

```
class VZVirtioGraphicsScanoutConfiguration
```

## Overview

Use a `VZVirtioGraphicsScanoutConfiguration` to configure the width and height of a Virtio graphics device.

## Topics

### Creating the configuration object

[`init(widthInPixels:heightInPixels:)`](/documentation/Virtualization/VZVirtioGraphicsScanoutConfiguration/init(widthInPixels:heightInPixels:))

Creates a Virtio graphics device with the specified dimensions.

### Instance properties

[`heightInPixels`](/documentation/Virtualization/VZVirtioGraphicsScanoutConfiguration/heightInPixels)

An integer value that describes the height of the graphics device in pixels.

[`widthInPixels`](/documentation/Virtualization/VZVirtioGraphicsScanoutConfiguration/widthInPixels)

An integer value that describes the width of the graphics device in pixels.



---

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)