---
title: width
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcaptionsize/width
---

# width

The width of the caption.

## Declaration

```swift
var width: AVCaptionDimension
```

## See Also

### Inspecting the size

- [height](avfoundation/avcaptionsize/height.md)
