---
title: videoDisplaySize
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayeritemrenderedlegibleoutput/videodisplaysize
---

# videoDisplaySize

Set the video display size to use for rendering of pixel buffers.

## Declaration

```swift
var videoDisplaySize: CGSize { get set }
```

## Discussion

Discussion The output renders the pixel buffers according to the width and height of display area. If you set this property during the presentation time of a vended caption image, the output vends a new image rendered at the new size. important: Attempting to set a video display size of zero results in the system throwing an exception.

## See Also

### Configuring an output

- [advanceIntervalForDelegateInvocation](avfoundation/avplayeritemrenderedlegibleoutput/advanceintervalfordelegateinvocation.md)
