<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptionRegion/size",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptionRegion(py)size"
  },
  "title" : "size"
}
-->

# size

The height and width of the region.

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

## Discussion

CEA608 closed captions limit the [`height`](/documentation/AVFoundation/AVCaptionSize/height) property’s value to 1 cell, except when the value of its [`scroll`](/documentation/AVFoundation/AVCaptionRegion/scroll-swift.property) property is [`AVCaptionRegion.Scroll.rollUp`](/documentation/AVFoundation/AVCaptionRegion/Scroll-swift.enum/rollUp). In this case, the [`height`](/documentation/AVFoundation/AVCaptionSize/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.

---

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)