---
title: width
framework: screencapturekit
role: symbol
role_heading: Instance Property
path: screencapturekit/scstreamconfiguration/width
---

# width

The width of the output.

## Declaration

```swift
var width: Int { get set }
```

## See Also

### Specifying dimensions

- [height](screencapturekit/scstreamconfiguration/height.md)
- [scalesToFit](screencapturekit/scstreamconfiguration/scalestofit.md)
- [sourceRect](screencapturekit/scstreamconfiguration/sourcerect.md)
- [destinationRect](screencapturekit/scstreamconfiguration/destinationrect.md)
- [preservesAspectRatio](screencapturekit/scstreamconfiguration/preservesaspectratio.md)
