---
title: "init(width:height:)"
framework: Video Toolbox
role: symbol
role_heading: Initializer
platforms: [iOS 6.0+, iPadOS 6.0+, Mac Catalyst 13.0+, macOS 10.8+, tvOS 10.2+, visionOS 1.0+]
path: "videotoolbox/vtint32size/init(width:height:)"
---

# init(width:height:)

Creates a size with a width and height.

## Declaration

```swift
init(width: Int32, height: Int32)
```

## Parameters

- `width`: The width of the size.
- `height`: The height of the size.

## See Also

### Creating a Size

- [init()](videotoolbox/vtint32size/init().md)
