---
title: size
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcaptionregion/size
---

# size

The height and width of the region.

## Declaration

```swift
var size: AVCaptionSize { get }
```

## Discussion

Discussion CEA608 closed captions limit the height property’s value to 1 cell, except when the value of its scroll property is AVCaptionRegion.Scroll.rollUp. In this case, the height property’s value must be 2, 3 or 4 cells. note: The caption size has an unspecified height and width when the region doesn’t have width or height information.

## See Also

### Accessing the size

- [AVCaptionSize](avfoundation/avcaptionsize.md)
